lib/graphql/schema/build_from_definition.rb in graphql-2.0.13 vs lib/graphql/schema/build_from_definition.rb in graphql-2.0.14

- old
+ new

@@ -53,16 +53,15 @@ raise "No definition for #{type_name.inspect} found in schema document or built-in types. Add a definition for it or remove it." end end }) + directives.merge!(GraphQL::Schema.default_directives) document.definitions.each do |definition| if definition.is_a?(GraphQL::Language::Nodes::DirectiveDefinition) directives[definition.name] = build_directive(definition, directive_type_resolver) end end - - directives = GraphQL::Schema.default_directives.merge(directives) # In case any directives referenced built-in types for their arguments: replace_late_bound_types_with_built_in(types) document.definitions.each do |definition|