Skip to content

Commit 99e2ea3

Browse files
do not set default value explicitly
Co-authored-by: Robert Mosolgo <[email protected]>
1 parent a20cc78 commit 99e2ea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_schema.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def self.resolve_type(_type, _obj, _ctx)
365365
end
366366
end
367367

368-
types = GraphQL::Client::Schema.generate(schema, raise_on_unknown_enum_value: true)
368+
types = GraphQL::Client::Schema.generate(schema)
369369

370370
assert_equal person_type, types::Person.type
371371
assert_equal photo_type, types::Photo.type
@@ -397,7 +397,7 @@ def self.resolve_type(_type, _obj, _ctx)
397397
end
398398

399399
assert_raises ArgumentError do
400-
GraphQL::Client::Schema.generate(schema, raise_on_unknown_enum_value: true)
400+
GraphQL::Client::Schema.generate(schema)
401401
end
402402
end
403403

0 commit comments

Comments
 (0)