Hello,

according to the documentation, a POJO must have a no-arg constructor and
either public fields or public getters and setters with conventional
naming. I recently realized that if I create an explicit TypeInfoFactory
that provides Types.POJO and all other required details, the getters and
setters aren't needed. Is this an official feature?

I ask because this means some classes could have an "immutable contract",
so to speak. I'm guessing final fields might still be unsupported, but I
haven't validated.

Regards,
Alexis.

Reply via email to