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

Reply via email to