File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
lib/graphql/static_validation/rules
spec/graphql/static_validation/rules Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ def initialize(*)
15
15
super
16
16
@visited_fragments = { }
17
17
@compared_fragments = { }
18
- @fields_and_fragments_from_node = { }
19
18
end
20
19
21
20
def on_operation_definition ( node , _parent )
Original file line number Diff line number Diff line change 251
251
}
252
252
| }
253
253
254
- focus
255
254
it "fails rule" do
256
255
assert_equal [ "Field 'fido' has a field conflict: name or nickname?" ] , error_messages
257
256
end
282
281
}
283
282
| }
284
283
285
- focus
286
284
it "fails rule" do
287
285
assert_equal [ %q(Field 'doesKnowCommand' has an argument conflict: {} or {dogCommand:"HEEL"}?) ] , error_messages
288
286
end
298
296
}
299
297
| }
300
298
301
- focus
302
299
it "fails rule" do
303
300
assert_equal [ %q(Field 'doesKnowCommand' has an argument conflict: {dogCommand:"SIT"} or {}?) ] , error_messages
304
301
end
314
311
}
315
312
| }
316
313
317
- focus
318
314
it "fails rule" do
319
315
assert_equal [ %q(Field 'doesKnowCommand' has an argument conflict: {dogCommand:"SIT"} or {dogCommand:"HEEL"}?) ] , error_messages
320
316
end
330
326
}
331
327
| }
332
328
333
- focus
334
329
it "fails rule" do
335
330
assert_equal [ %q(Field 'image' has an argument conflict: {maxWidth:"10"} or {maxWidth:"20"}?) ] , error_messages
336
331
end
You can’t perform that action at this time.
0 commit comments