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

[HttpFoundation] replace $request->request by $request->getPayload() #19225

Merged

Conversation

MrYamous
Copy link
Contributor

@MrYamous MrYamous commented Dec 6, 2023

Considering new function getPayload added in code #49614, what do you think about replace $request->request by $request->getPayload in documentation ?

@javiereguiluz
Copy link
Member

I'm 👍 about this. Let's ask other people from Symfony Docs because this is an important change: @wouterj, @xabbuh, @OskarStark Thanks.

@javiereguiluz javiereguiluz added the Waiting team decision Request for comments from Symfony Docs Team members label Jan 15, 2024
@OskarStark
Copy link
Contributor

I am fine with the change

@javiereguiluz javiereguiluz added Status: Reviewed and removed Status: Needs Review Waiting team decision Request for comments from Symfony Docs Team members labels Jan 23, 2024
@javiereguiluz javiereguiluz force-pushed the httpfoundation/use-getPayload-function branch from e055185 to 00e9b45 Compare January 23, 2024 17:02
@javiereguiluz
Copy link
Member

Thanks Matthieu.

@javiereguiluz javiereguiluz merged commit 345b4e5 into symfony:6.4 Jan 23, 2024
2 of 3 checks passed
javiereguiluz added a commit to symfony/demo that referenced this pull request Feb 19, 2024
This PR was merged into the main branch.

Discussion
----------

Update BlogController.php

I replace `$request->request` by `$request->getPayload()`

References:

- https://symfony.com/blog/new-in-symfony-6-3-request-payload
- symfony/symfony-docs#19225

Commits
-------

98e366f Update BlogController.php
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.

4 participants