Skip to content

Commit 345ecd4

Browse files
committed
Remove unused ivar; remove focus
1 parent a28ec6c commit 345ecd4

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/graphql/static_validation/rules/fields_will_merge.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def initialize(*)
1515
super
1616
@visited_fragments = {}
1717
@compared_fragments = {}
18-
@fields_and_fragments_from_node = {}
1918
end
2019

2120
def on_operation_definition(node, _parent)

spec/graphql/static_validation/rules/fields_will_merge_spec.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@
251251
}
252252
|}
253253

254-
focus
255254
it "fails rule" do
256255
assert_equal ["Field 'fido' has a field conflict: name or nickname?"], error_messages
257256
end
@@ -282,7 +281,6 @@
282281
}
283282
|}
284283

285-
focus
286284
it "fails rule" do
287285
assert_equal [%q(Field 'doesKnowCommand' has an argument conflict: {} or {dogCommand:"HEEL"}?)], error_messages
288286
end
@@ -298,7 +296,6 @@
298296
}
299297
|}
300298

301-
focus
302299
it "fails rule" do
303300
assert_equal [%q(Field 'doesKnowCommand' has an argument conflict: {dogCommand:"SIT"} or {}?)], error_messages
304301
end
@@ -314,7 +311,6 @@
314311
}
315312
|}
316313

317-
focus
318314
it "fails rule" do
319315
assert_equal [%q(Field 'doesKnowCommand' has an argument conflict: {dogCommand:"SIT"} or {dogCommand:"HEEL"}?)], error_messages
320316
end
@@ -330,7 +326,6 @@
330326
}
331327
|}
332328

333-
focus
334329
it "fails rule" do
335330
assert_equal [%q(Field 'image' has an argument conflict: {maxWidth:"10"} or {maxWidth:"20"}?)], error_messages
336331
end

0 commit comments

Comments
 (0)