lib/graphql/static_validation/validation_context.rb in graphql-1.5.5 vs lib/graphql/static_validation/validation_context.rb in graphql-1.5.6

- old
+ new

@@ -20,10 +20,10 @@ def_delegators :@query, :schema, :document, :fragments, :operations, :warden def initialize(query) @query = query - @literal_validator = LiteralValidator.new(warden: warden) + @literal_validator = LiteralValidator.new(context: query.context) @errors = [] @visitor = GraphQL::Language::Visitor.new(document) @type_stack = GraphQL::StaticValidation::TypeStack.new(schema, visitor) definition_dependencies = DefinitionDependencies.mount(self) @on_dependency_resolve_handlers = []