Andrea Magni 75 Posted November 19, 2018 It is just a small addition to MARS Client library capabilities but TMARSClientResourceJSON now implements REST.Client.IRESTResponseJSON interface (from Delphi's REST Client library). This basically means you can use a TMARSClientResourceJSON and materialize a dataset through the TRESTResponseDataSetAdapter component (from Delphi's REST Client library). Enjoy 😉 Share this post Link to post
Stuart Clennett 15 Posted November 20, 2018 HI Andrea, I've just updated my copy of the repo (git pull) and whilst trying to build MARSClient.Core240 (from MARSClient.Enterprise) I get "[dcc32 Fatal Error] MARSClient.Core.dpk(62): F2613 Unit '..\..\Source\MARS.Client.Messaging.Resource.pas' not found." Did I do something wrong in updating the repo? Thanks Share this post Link to post
Stefan Glienke 2009 Posted November 20, 2018 (edited) The joys of packages as a library author. Looks like commit ace9e54 only modified the 10.2 package. That commit removed the following files: MARS.Client.Messaging.Resource.pas MARS.Client.SubResource.JSON.pas MARS.Client.SubResource.pas MARS.Client.SubResource.Stream.pas Just remove them from the contains in the MARSClient.Core.dpk and you should be able to compile. Edited November 20, 2018 by Stefan Glienke 1 Share this post Link to post
Andrea Magni 75 Posted November 20, 2018 @Stuart Clennett, sorry! It's my fault, still need to improve myself in maintaining the library for older Delphi versions... Which one are you using? Thanks @Stefan Glienke Share this post Link to post
Andrea Magni 75 Posted November 20, 2018 BTW, I've just updated 10.1 Berlin packages (I am not sure I have VMs for earlier versions). If you are using Berlin, let me know if your problems are now solved. Thanks Share this post Link to post
Stuart Clennett 15 Posted November 21, 2018 (edited) Hi all, (Apologies for late reply) Pulled latest source & all packages build now, problem solved thanks. Yes, I am using 10,1 Berlin - sorry should've mentioned that. Kindest regards Edited November 21, 2018 by Stuart Clennett 1 Share this post Link to post