We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Symfony: 6.1.5 api-platform/core: 3.0.2
Description Hi !
I've a Compagny entity. I need to give a name to my Get operation but if I do it like this
#[Get( security: "is_granted('IS_AUTHENTICATED_FULLY')", name: 'compagny_get', )]
The name argument is ignored as you can see in the debug:router command
But if i declare my Get operation in ApiResource attribute like this
#[ApiResource( operations: [ new Get( security: "is_granted('IS_AUTHENTICATED_FULLY')", name: 'compagny_get', ) ] )]
The operation name is correctly overwritten.
Clearing the cache does not change anything
The text was updated successfully, but these errors were encountered:
fix(metadata): define a name on a single operation
55c1d11
fixes api-platform#5082
fix(metadata): define a name on a single operation (#5090)
8250d41
fixes #5082
6abd0fe
No branches or pull requests
Symfony: 6.1.5
api-platform/core: 3.0.2
Description
Hi !
I've a Compagny entity. I need to give a name to my Get operation but if I do it like this
The name argument is ignored as you can see in the debug:router command
But if i declare my Get operation in ApiResource attribute like this
The operation name is correctly overwritten.
Clearing the cache does not change anything
The text was updated successfully, but these errors were encountered: