Roberto Schneiders

Results 22 comments of Roberto Schneiders

@rusterholz @bf4 I'm having the same problem.

@vtgustavo thanks for reporting. Can you send a pull request to fix this?

It's not a bug, the GetAsDataset is only available if you are using SuperObject. Apparently, `USE_SUPER_OBECT` is defined by default ([DelphiRest.inc#L6](https://github.com/fabriciocolombo/delphi-rest-client-api/blob/46c08e2cd5ef831dbb6d6868f68fc65b622d8f2d/src/DelphiRest.inc#L6)), but not for MacOS ([DelphiRest.inc#L203](https://github.com/fabriciocolombo/delphi-rest-client-api/blob/46c08e2cd5ef831dbb6d6868f68fc65b622d8f2d/src/DelphiRest.inc#L203)) I'm not sure why...

so, you don't have the `MACOS` directive defined on your project settings? for sure?

Weird. That seems to be a problem with your environment.

Thanks for the report. String means different things between different versions of Delphi, so, is a mess. I am not so sure that the widestring is the right type here...

I'm not sure about that, but I guess that string is a widestring type in some 2009+ versions of delphi, and it is UnicodeString in the latest versions. But it...

much better @ronaldhoek :+1:

I don't think so. The parser will find for fields and properties to make the mapping. I guess the TDictionary approach is not supported, but, I am not sure.

@afernandezcontreras unfortunately, I don't know, but it certainly should work. If you can test it and give us some feedback, we appreciate it.