Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SerializerPropertyMetadataFactory overwrites readableLink and writableLink metadata #1994

Closed
oxan opened this issue Jun 3, 2018 · 1 comment

Comments

@oxan
Copy link
Contributor

oxan commented Jun 3, 2018

The SerializerPropertyMetadataFactory overwrites the readableLink and writableLink property metadata with its own computed value. This is unfortunate, as it makes setting them to false using an annotation or XML/YAML configuration impossible. Manually setting these properties to false is useful in situations like #1001 (entity using serialization groups references itself, and wants to serialize self-reference as an IRI instead of embedded document).

Also related to #1980.

@soyuka
Copy link
Member

soyuka commented Jun 3, 2018

👍 let's keep discussing this in #1980 but user-defined metadata should totally override the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants