lib/graphql/static_validation/validation_context.rb in graphql-2.0.31 vs lib/graphql/static_validation/validation_context.rb in graphql-2.1.0

- old
+ new

@@ -6,12 +6,9 @@ # It exposes a {GraphQL::Language::Visitor} where validators may add hooks. ({Language::Visitor#visit} is called in {Validator#validate}) # # It provides access to the schema & fragments which validators may read from. # # It holds a list of errors which each validator may add to. - # - # It also provides limited access to the {TypeStack} instance, - # which tracks state as you climb in and out of different fields. class ValidationContext extend Forwardable attr_reader :query, :errors, :visitor, :on_dependency_resolve_handlers,