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
But is there a way to override the metadata similar to how Symfony validation and doctrine mapping can be overridden just by overriding specific properties needed?
Reference: https://symfony.com/doc/current/bundles/override.html
Symfony supports creating a friendly configuration which can be easily overridden across bundles
Reference: https://symfony.com/doc/current/bundles/configuration.html
If this is possible I am ready to contribute wherever needed :)
Thanks
The text was updated successfully, but these errors were encountered:
This is what is written in Symfony documentation regarding validation overriding.
Symfony loads all validation configuration files from every bundle and combines them into one validation metadata tree. This means you are able to add new constraints to a property, but you cannot override them.
Similarly, At least we should be able to add a new group to previously defined properties but not changing any of the previously defined groups and definitions (not overriding here but adding new groups and fields)
Currently, I need to copy all metadata files associated with third party bundles to the custom directory just to add a single field/group in a single metadata file.
Hi Guys,
Is there any plan on implementing overriding of serialization meta-data by inheritance.
Currently, we are able to override by changing the metadata directory as described
in below link
https://jmsyst.com/bundles/JMSSerializerBundle/master/configuration#overriding-third-party-metadata
But is there a way to override the metadata similar to how Symfony validation and doctrine mapping can be overridden just by overriding specific properties needed?
Reference: https://symfony.com/doc/current/bundles/override.html
Symfony supports creating a friendly configuration which can be easily overridden across bundles
Reference: https://symfony.com/doc/current/bundles/configuration.html
If this is possible I am ready to contribute wherever needed :)
Thanks
The text was updated successfully, but these errors were encountered: