GraphQLBundle
GraphQLBundle copied to clipboard
Doc expression mutation
| Q | A |
|---|---|
| Bug report? | yes |
| Feature request? | no |
| BC Break report? | no |
| RFC? | no |
| Version/Branch | 0.15.0 |
https://github.com/overblog/GraphQLBundle/blob/v0.15.1/docs/definitions/mutation.md
expression must be for the correct arguments to come to the mutator
resolve: "@=mutation('create_ship', [args['input']['shipName'], args['input']['factionId']])" to resolve: "@=mutation('create_ship', args['input']['shipName'], args['input']['factionId'])"
Thank you! The documentation is not up-to-date. This is the right syntax since 0.14, do you want to submit this update for 0.14 branch ?
Commit that changed the signature, and the tests, but not the documentation: https://github.com/overblog/GraphQLBundle/commit/a7f71f5a8b2cde1414f8e621d077bcca05b2c6cc
This issue can be closed since this is fixed now.