danieleteti / delphimvcframework

DMVCFramework (for short) is a popular and powerful framework for WEB API in Delphi. Supports RESTful and JSON-RPC WEB APIs development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InvokeRecordInitializer not build In Delphi RIO.

marcosnielsen opened this issue · comments

Hello!

After the commit
26-07-2022
SHA-1: b89b272
Cleaning some hints

image

In unit MVCFramework.Serializer.JsonDataObjects;
The MVC Framework.Serializer.JsonDataObjects.mas unit does not compile.

image

Unfortunately the InvokeRecordInitializer() method is not documented in the version before Delphi 10.4 Sydney.

https://docwiki.embarcadero.com/Libraries/RIO/en/System.InvokeRecordInitializer - 👎
https://docwiki.embarcadero.com/Libraries/Sydney/en/System.InvokeRecordInitializer - 👍
https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.InvokeRecordInitializer -👍

Thanks for your attention
Marcos Nielsen.

Hi @danieleteti
thanks for the change,
but there is a second call of "InvokeRecordInitializer(Buffer, RTTIType.Handle);" Full name:
procedure TMVCJsonDataObjectsSerializer.JSONObjectToRecordStatic(const JSONObject: TJsonObject;

image

can you make the same correction there?

@marcosnielsen done, please let me know.

Hi @danieleteti
DelphiMVC compiled with success
Thanks!