fabriciocolombo / delphi-rest-client-api

A Delphi REST client API to consume REST services written in any programming language.
Apache License 2.0
380 stars 182 forks source link

Lib Classes #53

Closed Timothyoverton closed 8 years ago

Timothyoverton commented 8 years ago

Hi Guys, I'm really keen to pull your rest client into our code. We are using the inbuilt Indy/TRestClient with custom API calls and your classes will clean things up immensely.

We are already using an older version of superobject, how do I get your lib to use your version of superobject? I'm just linking your src files in at the moment through tools-options-linking and calling TRestClient directly using restclient.Trestclient (I haven't installed your package) but I can't see a way around superobject, without renaming all your references to superobject?

Also is this being used in production environments? Any feedback?

Awesome work, thanks, Tim

ronaldhoek commented 8 years ago

Cant you just upgrade you're version of TSuperObject to the new version? Then you're own code will use the new version as well (if that isn't a problem).

RobertoSchneiders commented 8 years ago

@Timothyoverton We are using it on production for over a year now.

Timothyoverton commented 8 years ago

Hi Guys, thanks for the info, good to know its out in the wild.

I was looking at your version of SuperObject and I saw a reference to (line 83): {$I DelphiRest.inc} How much have you guys modified the class? I don't want to affect my current code base.

RobertoSchneiders commented 8 years ago

I haven't changed it myself, but, the majority of changes seems to be new functions and some bug fixes.

We have changed our superobject for the restclient version and we didn't have any problem so far.

Timothyoverton commented 8 years ago

Ok thanks Roberto, I'm pulling the pieces together today for a poc.