I see a couple of problems TBaseObject.SaveToJSON
1) TBaseObject.SaveToJSON cannot distinguish properties that are part
of the REST protocol from properties that are not part of it. It only
knows that properties which have been modified are part of the rest
protocol, but properties which have not
Michael wrote:
> >> Because there may be other published properties that are not part of the
> >> REST protocol. You may for instance decide to add published properties to a
> >> base class that describe where to save the object in a local database.
Wayne wrote:
> > Ok, that clears up that. If I
On Sat, 14 Jan 2023, Wayne Sherman wrote:
On Sat, Jan 14, 2023 at 12:36 PM Michael Van Canneyt wrote:
On Sat, 14 Jan 2023, Wayne Sherman wrote:
On Sat, Jan 14, 2023 at 10:34 AM Michael Van Canneyt wrote:
On Sat, 14 Jan 2023, Wayne Sherman wrote:
2) Doesn't each object already have the par
On Sat, Jan 14, 2023 at 12:36 PM Michael Van Canneyt wrote:
> On Sat, 14 Jan 2023, Wayne Sherman wrote:
> > On Sat, Jan 14, 2023 at 10:34 AM Michael Van Canneyt wrote:
> >> On Sat, 14 Jan 2023, Wayne Sherman wrote:
> >>> 2) Doesn't each object already have the parent properties included in
> >>> it
On Sat, Jan 14, 2023 at 10:34 AM Michael Van Canneyt wrote:
> On Sat, 14 Jan 2023, Wayne Sherman wrote:
> > 3) Why does MarkPropertyChanged offset the index and
> > IsPropertyModified does not take the offset into account?
>
> They should be the same. I don't remember why I created the two methods
On Sat, 14 Jan 2023, Wayne Sherman wrote:
On Sat, Jan 14, 2023 at 10:34 AM Michael Van Canneyt wrote:
On Sat, 14 Jan 2023, Wayne Sherman wrote:
2) Doesn't each object already have the parent properties included in
its own properties by inheritance?
Why this question ?
An object does not k
On Sat, Jan 14, 2023 at 10:34 AM Michael Van Canneyt wrote:
> On Sat, 14 Jan 2023, Wayne Sherman wrote:
> > 2) Doesn't each object already have the parent properties included in
> > its own properties by inheritance?
>
> Why this question ?
> An object does not know the property count of the parent
On Sat, 14 Jan 2023, Wayne Sherman wrote:
On Fri, Jan 13, 2023 at 11:48 PM Michael Van Canneyt wrote:
Markpropertychanged is called in the setter of the properties generated by
the code generator: Check all generated units.
Thanks for your explanations, it is getting more clear how modifie
On Fri, Jan 13, 2023 at 11:48 PM Michael Van Canneyt wrote:
> Markpropertychanged is called in the setter of the properties generated by
> the code generator: Check all generated units.
Thanks for your explanations, it is getting more clear how modified
property tracking is being used.
More clari
On 1/13/23 5:35 AM, Bart via fpc-devel wrote:
On Fri, Jan 13, 2023 at 11:13 AM wkitty42--- via fpc-devel
wrote:
First of all, adding a 'end;" for the "with" compiles under Linux.
That's because widestring=unicodestring on Linux.
i'm a little surprised there is no "mismatched begin/end" er
10 matches
Mail list logo