File tree 2 files changed +8
-14
lines changed
2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public static function mutationWithClientMutationId(array $config)
49
49
$ inputFieldsResolved = self ::resolveMaybeThunk ($ inputFields );
50
50
return array_merge ($ inputFieldsResolved !== null ? $ inputFieldsResolved : [], [
51
51
'clientMutationId ' => [
52
- 'type ' => Type::nonNull (Type:: string () )
52
+ 'type ' => Type::string ()
53
53
]
54
54
]);
55
55
};
@@ -58,7 +58,7 @@ public static function mutationWithClientMutationId(array $config)
58
58
$ outputFieldsResolved = self ::resolveMaybeThunk ($ outputFields );
59
59
return array_merge ($ outputFieldsResolved !== null ? $ outputFieldsResolved : [], [
60
60
'clientMutationId ' => [
61
- 'type ' => Type::nonNull (Type:: string () )
61
+ 'type ' => Type::string ()
62
62
]
63
63
]);
64
64
};
Original file line number Diff line number Diff line change @@ -204,12 +204,9 @@ public function testIntrospection()
204
204
[
205
205
'name ' => 'clientMutationId ' ,
206
206
'type ' => [
207
- 'name ' => null ,
208
- 'kind ' => 'NON_NULL ' ,
209
- 'ofType ' => [
210
- 'name ' => 'String ' ,
211
- 'kind ' => 'SCALAR '
212
- ]
207
+ 'name ' => 'String ' ,
208
+ 'kind ' => 'SCALAR ' ,
209
+ 'ofType ' => null
213
210
]
214
211
]
215
212
]
@@ -254,12 +251,9 @@ public function testContainsCorrectPayload() {
254
251
[
255
252
'name ' => 'clientMutationId ' ,
256
253
'type ' => [
257
- 'name ' => null ,
258
- 'kind ' => 'NON_NULL ' ,
259
- 'ofType ' => [
260
- 'name ' => 'String ' ,
261
- 'kind ' => 'SCALAR '
262
- ]
254
+ 'name ' => 'String ' ,
255
+ 'kind ' => 'SCALAR ' ,
256
+ 'ofType ' => null
263
257
]
264
258
]
265
259
]
You can’t perform that action at this time.
0 commit comments