lib/graphql/static_validation/validation_context.rb in graphql-2.3.7 vs lib/graphql/static_validation/validation_context.rb in graphql-2.3.8

- old
+ new

@@ -11,17 +11,17 @@ class ValidationContext extend Forwardable attr_reader :query, :errors, :visitor, :on_dependency_resolve_handlers, - :max_errors, :warden, :schema + :max_errors, :types, :schema def_delegators :@query, :document, :fragments, :operations def initialize(query, visitor_class, max_errors) @query = query - @warden = query.warden + @types = query.types # TODO update migrated callers to use this accessor @schema = query.schema @literal_validator = LiteralValidator.new(context: query.context) @errors = [] @max_errors = max_errors || Float::INFINITY @on_dependency_resolve_handlers = []