Skip to content

Commit 4f6a9f0

Browse files
authored
Fix mutation.md example
The resolve arguments are sent as an array instead of 2 seperate variables - this will create an error.
1 parent 1883e12 commit 4f6a9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/definitions/mutation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Mutation:
99
fields:
1010
IntroduceShip:
1111
type: IntroduceShipPayload!
12-
resolve: "@=mutation('create_ship', [args['input']['shipName'], args['input']['factionId']])"
12+
resolve: "@=mutation('create_ship', args['input']['shipName'], args['input']['factionId'])"
1313
args:
1414
#using input object type is optional, we use it here to be iso with relay mutation example.
1515
input:

0 commit comments

Comments
 (0)