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

[10.x] Allow creation of PSR request with merged data #48696

Merged
merged 2 commits into from Oct 13, 2023

Conversation

timacdonald
Copy link
Member

@timacdonald timacdonald commented Oct 11, 2023

There was a breaking change, for us, in symfony/psr-http-message-bridge (symfony/psr-http-message-bridge#122) that means merged data for JSON requests is no longer added to the PSR request.

The original PR was a fix for a different Laravel issue (although I'm not entirely sure what as the issue tracker for that repo is no longer visible).

fixes #48626

@mbabker
Copy link
Contributor

mbabker commented Oct 11, 2023

The original PR was a fix for a different Laravel issue (although I'm not entirely sure what as the issue tracker for that repo is no longer visible).

That was #47834 and basically InputBag related issue since.

"symfony/http-foundation": "^6.2",
"symfony/http-foundation": "^6.3",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request::getPayload method is only available from 6.3.

@timacdonald timacdonald marked this pull request as ready for review October 11, 2023 23:12
@driesvints driesvints marked this pull request as draft October 12, 2023 10:25
@timacdonald timacdonald marked this pull request as ready for review October 12, 2023 22:28
@taylorotwell taylorotwell merged commit 967dab6 into laravel:10.x Oct 13, 2023
20 checks passed
@timacdonald timacdonald deleted the http-message-bridge branch October 16, 2023 02:00
timacdonald added a commit to timacdonald/framework that referenced this pull request Oct 24, 2023
* Allow creation of PSR request with merged data

* Add dependencies to require-dev
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.

symfony/psr-http-message-bridge v2.3.1 loses the transformations of ConvertEmptyStringsToNull middleware
4 participants