Skip to content

Commit d7872be

Browse files
committed
Merge branch 'master' of github.com:graphql-python/graphql-relay-py
2 parents 108a4c7 + 9e55efd commit d7872be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graphql_relay/mutation/mutation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from graphql.core.type import (
22
GraphQLArgument,
3+
GraphQLInputObjectField,
34
GraphQLInputObjectType,
45
GraphQLNonNull,
56
GraphQLObjectType,
@@ -10,7 +11,7 @@
1011

1112
def mutationWithClientMutationId(name, inputFields, outputFields, mutateAndGetPayload):
1213
augmentedInputFields = dict(inputFields,
13-
clientMutationId=GraphQLField(GraphQLNonNull(GraphQLString))
14+
clientMutationId=GraphQLInputObjectField(GraphQLNonNull(GraphQLString))
1415
)
1516
augmentedOutputFields = dict(outputFields,
1617
clientMutationId=GraphQLField(GraphQLNonNull(GraphQLString))

0 commit comments

Comments
 (0)