lib/graphql/static_validation/validation_context.rb in graphql-1.13.4 vs lib/graphql/static_validation/validation_context.rb in graphql-1.13.5
- old
+ new
@@ -42,8 +42,12 @@
end
def too_many_errors?
@errors.length >= @max_errors
end
+
+ def schema_directives
+ @schema_directives ||= schema.directives
+ end
end
end
end