GraphQLBundle icon indicating copy to clipboard operation
GraphQLBundle copied to clipboard

Doc expression mutation

Open god1dog opened this issue 3 years ago • 3 comments
trafficstars

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'])"

god1dog avatar Aug 31 '22 10:08 god1dog

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 ?

mcg-web avatar Aug 31 '22 11:08 mcg-web

Commit that changed the signature, and the tests, but not the documentation: https://github.com/overblog/GraphQLBundle/commit/a7f71f5a8b2cde1414f8e621d077bcca05b2c6cc

possi avatar Sep 01 '22 12:09 possi

This issue can be closed since this is fixed now.

eriwin avatar Jan 19 '23 21:01 eriwin