-
-
Notifications
You must be signed in to change notification settings - Fork 843
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
feat(#2297): (Symfony 7.1) Add MapRequestPayload array parameter handling #2298
feat(#2297): (Symfony 7.1) Add MapRequestPayload array parameter handling #2298
Conversation
Not sure if skipping the test is correct in this case. And I noticed that I was maybe a tiny bit too early with this, since 7.1 is fairly fresh 😅 |
It is 😉
You can't start early enough, thanks a lot! |
I would love this to also be merged into the |
Thank you @mazumba :) |
With Symfony 7.1, a new
type
parameter has been introduced forMapRequestPayload
that allows array Controller parameters to be resolved. This currently leads to an error when the Describer tries to register a new Model, because the parameter typearray
is used in this case. To resolve the issue, the giventype
parameter form theMapRequestPayload
should be used instead.I tried to test this as gracefully as possible. Any more elegant suggestions are welcome!