On Tue, Jan 17, 2023 at 7:08 AM Wayne Sherman wrote:
> A REST class should know how to generate a complete and correct JSON
> representation, so there must be a way to distinguish REST properties
> from non-REST.  Which properties have been modified is not sufficient.

Rephrasing that last sentence:  Tracking "which properties have been
modified" is sufficient for a limited use case.  But with a way to
distinguish REST properties and some other relatively small
adjustments, TBaseClass could be more generally useful for many other
use cases.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to