We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d20d40 commit 3d33e92Copy full SHA for 3d33e92
tests/starwars/schema.py
@@ -4,6 +4,7 @@
4
GraphQLID,
5
GraphQLNonNull,
6
GraphQLObjectType,
7
+ GraphQLInputObjectField,
8
GraphQLSchema,
9
GraphQLString,
10
GraphQLField
@@ -256,10 +257,10 @@ def mutateAndGetPayload(data, *_):
256
257
shipMutation = mutationWithClientMutationId(
258
'IntroduceShip',
259
inputFields={
- 'shipName': GraphQLField(
260
+ 'shipName': GraphQLInputObjectField(
261
GraphQLNonNull(GraphQLString)
262
),
- 'factionId': GraphQLField(
263
+ 'factionId': GraphQLInputObjectField(
264
GraphQLNonNull(GraphQLID)
265
)
266
},
0 commit comments