Module: GraphQL::Schema::Warden::NullWarden::NullSubset Private

Defined in:
lib/graphql/schema/warden.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.new(query) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



78
79
80
# File 'lib/graphql/schema/warden.rb', line 78

def self.new(query)
  NullWarden.new(context: query.context, schema: query.schema).schema_subset
end