Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Feb 19, 2018

…rface

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #25807
License MIT
Doc PR n/a

@dunglas dunglas removed the BC Break label Feb 19, 2018
@nicolas-grekas nicolas-grekas changed the title [Serializer] Pass the serializer context to PropertyTypeExtractorInte… [Serializer] Pass the serializer context to PropertyTypeExtractorInterface Feb 19, 2018
@nicolas-grekas nicolas-grekas added this to the 4.1 milestone Feb 19, 2018
@nicolas-grekas
Copy link
Member

didn't we merge something similar as bug fix recently?

@nicolas-grekas
Copy link
Member

In #26043 actually

@dunglas
Copy link
Member Author

dunglas commented Feb 19, 2018

It's not the same. In this one the idea is to give access to the serialization context in the PropertyInfo component.

@nicolas-grekas
Copy link
Member

Ok :) what about adding a test case?

@dunglas
Copy link
Member Author

dunglas commented Feb 19, 2018

bof 😋 (i'll add it)

@GuilhemN
Copy link
Contributor

If we don't have an actual use case, i'd rather not do this since it makes caching much harder (values of circular reference fields are dynamic, aren't they?). I think it was already rejected in the past because of this.

@dunglas
Copy link
Member Author

dunglas commented Feb 21, 2018

Indeed it's bad in term of cache.

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

Successfully merging this pull request may close these issues.

4 participants