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(context:, schema:) ⇒ 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(context:, schema:)
  NullWarden.new(context: context, schema: schema).schema_subset
end