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
# File 'lib/graphql/schema/always_visible.rb', line 5

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