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

fix: pass through serializationContext into models where possible #2344

Merged

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Sep 25, 2024

Q A
Bug fix? yes
New feature? o
Deprecations? no
Issues Fix #...

I noticed that information I'm adding into a JMS serializer model gets lost inside it because serializationContext is not passed through everywhere, but it most likely should? the thing I slightly dislike though is that it could include groups and in the scope of JMSModelDescriber where groups are determined in another way and overwritten I have to unset that key from the serializationContext to avoid side-effects. WDYT @DjordyKoert?

@DjordyKoert DjordyKoert merged commit cb2d65d into nelmio:master Sep 30, 2024
16 checks passed
@herndlm herndlm deleted the pass-through-serialization-context branch September 30, 2024 13:02
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

Successfully merging this pull request may close these issues.

2 participants