-
-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
Since we have all informations about a class and its properties, it should be easy to generate normalizer and a denormalizer compatible with the symfony interface.
I believe the performance of such generated normalizer would be better than using PropertyAccess (as it would plain php object only using simple methods).
However using templates for such generation is really a pain and it would be better to generate an AST which will then be transformed into PHP code.
I have done this in this library (for json schema) https://github.com/jolicode/jane and maybe we can collaborate to use this principle for schema.org model, WDYT ?
Metadata
Metadata
Assignees
Labels
No labels