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

Skip to content

[Serializer] Use context to compute MetadataAwareNameConverter cache #34246

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

Conversation

antograssiot
Copy link
Contributor

Q A
Branch? 4.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

This is a follow up PR to #34035 to address @nicolas-grekas 's comment

The static cache has been re-introduced and the context is used to compute the cache key used for denormalization

@antograssiot antograssiot requested a review from dunglas as a code owner November 6, 2019 05:14
@antograssiot antograssiot force-pushed the serializer-metadata-aware-name-converter branch 2 times, most recently from 33a3953 to c8311ee Compare November 6, 2019 06:40
@nicolas-grekas nicolas-grekas added this to the 4.3 milestone Nov 6, 2019
@antograssiot antograssiot force-pushed the serializer-metadata-aware-name-converter branch from c8311ee to 57eb533 Compare November 6, 2019 15:02
@antograssiot
Copy link
Contributor Author

Thanks for your review @nicolas-grekas , I've updated all points as requested and rebased

@antograssiot antograssiot force-pushed the serializer-metadata-aware-name-converter branch from 57eb533 to 0ac5346 Compare November 6, 2019 16:10
@nicolas-grekas
Copy link
Member

Thank you @antograssiot.

nicolas-grekas added a commit that referenced this pull request Nov 6, 2019
…rter cache (antograssiot)

This PR was merged into the 4.3 branch.

Discussion
----------

[Serializer] Use context to compute MetadataAwareNameConverter cache

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

This is a follow up PR to #34035 to address @nicolas-grekas 's [comment](#34035 (comment))

The static cache has been re-introduced and the context is used to compute the cache key used for denormalization

Commits
-------

0ac5346 [Serializer] Use context to compute MetadataAwareNameConverter cache
@nicolas-grekas nicolas-grekas merged commit 0ac5346 into symfony:4.3 Nov 6, 2019
@antograssiot antograssiot deleted the serializer-metadata-aware-name-converter branch November 6, 2019 16:15
@fabpot fabpot mentioned this pull request Nov 11, 2019
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.

3 participants