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(symfony)!: context stamp not serializable because of request object #6323

Merged

Conversation

MariusJam
Copy link
Contributor

@MariusJam MariusJam commented Apr 17, 2024

Q A
Branch? main
Tickets Closes api-platform/api-platform#2611
License MIT

Following #6302, here is the PR to completely remove request object from $context in the ContextStamp. Symfony does not guarantee that the Request object is serializable.

As specified in the commit description, this is a breaking change.

BREAKING CHANGE: unset request object from context array passed to the context stamp
@MariusJam MariusJam force-pushed the fix/unserializable-context-stamp branch from 1626a04 to 8e91e79 Compare April 17, 2024 13:52
@soyuka soyuka merged commit af61482 into api-platform:main Apr 18, 2024
73 of 76 checks passed
@soyuka
Copy link
Member

soyuka commented Apr 18, 2024

thanks @MariusJam !

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.

Serialization of 'Closure' is not allowed/ Async Symfony Messenger Processor / ContextStamp
2 participants