You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This currently results in an error "Schema of type "\array" can't be generated, no describer supports it". And could be resolved by checking for the type parameter of the MapRequestPayload attribute aswell as checking whether the Controller parameter is of type array in the SymfonyMapRequestPayloadDescriber->describe function .
Additional context
No response
The text was updated successfully, but these errors were encountered:
Version
4.26.2
Description
Since Symfony 7.1, the MapRequestPayload has a new parameter
type
that allows for array parameters to be resolved in a Controller. Link to the docs: https://symfony.com/doc/7.1/controller.html#mapping-request-payloadThis currently results in an error "Schema of type "\array" can't be generated, no describer supports it". And could be resolved by checking for the
type
parameter of theMapRequestPayload
attribute aswell as checking whether the Controller parameter is of typearray
in theSymfonyMapRequestPayloadDescriber->describe
function .Additional context
No response
The text was updated successfully, but these errors were encountered: