You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to allow custom type mapping in the Symfony 2 Config. For instance, I use Carbon for my date fields. When serialized without a Type annotation they are just empty objects. But when I add the @type("DateTime") they serialize correctly.
Is there a way to map class types to specific Serializer Types in the config?
The text was updated successfully, but these errors were encountered:
sorry for the incredibly long feedback loop.
the feature you asking does not exists. the solution you are using is the preferred, it does not rely on external configs, is simple and explicit
Do not hesitate to re open a new issue if the problem persists
It should be possible to allow custom type mapping in the Symfony 2 Config. For instance, I use Carbon for my date fields. When serialized without a Type annotation they are just empty objects. But when I add the @type("DateTime") they serialize correctly.
Is there a way to map class types to specific Serializer Types in the config?
The text was updated successfully, but these errors were encountered: