Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Serializer] GetSetNormalizer shouldn't set/get static methods#16454
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
dunglas commentedNov 4, 2015
👍 It's why it would be nice to optimize performance of PropertyAccess component: it will allow to deprecate all normalizers except |
boekkooi commentedNov 5, 2015
@dunglas I'm not sure I agree with that since PropertyNormalizer and GetSetNormalizer are more limited in scope then ProperyAccess and sometimes that's exactly what I want 😄 |
boekkooi commentedNov 5, 2015
Status: Reviewed |
dunglas commentedNov 5, 2015
I've introduced this cache system in the PropertyAccess component. It's why having a single normalizer relying on this component can enhance global performance and ease the maintenance. |
fabpot commentedNov 5, 2015
Thank you@boekkooi. |
…hods (boekkooi)This PR was merged into the 2.7 branch.Discussion----------[Serializer] GetSetNormalizer shouldn't set/get static methods| Q | A| ------------- | ---| Bug fix? | yes| New feature? | no| BC breaks? | maybe| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -This PR fixes setting static getters and setters when serializing.This is strictly speaking a BC break but in my opinion a needed one because the current behavior is unexpected.Commits-------d8d4405 [Serializer] GetSetNormalizer shouldn't set/get static methods
This PR fixes setting static getters and setters when serializing.
This is strictly speaking a BC break but in my opinion a needed one because the current behavior is unexpected.