You are not logged in.
Hello,
As it is show in samples, with mORMot we can specify callback with a service (Chat sample).
This is make using a simple parameter of a function.
Is it possible to pass this information within a generic array of parameters, a collection of variant like this :
TCommonGenericProperty = class(TCollectionItem)
private
FName : ShortString;
FPropertyType : TTypeKind;
FValue : Variant;
published
property Name : ShortString read FName write FName;
property PropertyType : TTypeKind read FPropertyType write FPropertyType;
property Value : Variant read FValue write FValue;
end;
Will it be well serialize ?
How to get it on the server side ?
regards.
Offline
Hi,
Too bad ...
It doesn't matter, we'll do it in an other way.
Thanks
Offline