overblog / GraphQLBundle

This bundle provides tools to build a complete GraphQL API server in your Symfony App.
MIT License
780 stars 223 forks source link

Ensure that a #[GQL\Arg] on method has a matching parameter #1176

Closed Vincz closed 4 months ago

Vincz commented 4 months ago
Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Documented? yes
Fixed tickets #...
License MIT

This PR force an argument defined with #[GQL\Arg] or @GQL\Arg on a method to use a name matching one of the parameter of the method. It will avoid potential error following the last update and the arguments merging.