Class: GraphQL::Schema::AlwaysVisible

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/schema/always_visible.rb

Class Method Summary collapse

Class Method Details

.use(schema, **opts) ⇒ Object



5
6
7
8
# File 'lib/graphql/schema/always_visible.rb', line 5

def self.use(schema, **opts)
  schema.warden_class = GraphQL::Schema::Warden::NullWarden
  schema.subset_class = GraphQL::Schema::Warden::NullWarden::NullSubset
end