Sha256: bcf850e3658e7a8c25a04c614a705ebaba76921ed65516c1deee28c261137db8

Contents?: true

Size: 291 Bytes

Versions: 11

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true
module GraphQL
  class Schema
    class AlwaysVisible
      def self.use(schema, **opts)
        schema.warden_class = GraphQL::Schema::Warden::NullWarden
        schema.subset_class = GraphQL::Schema::Warden::NullWarden::NullSubset
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
graphql-2.3.18 lib/graphql/schema/always_visible.rb
graphql-2.3.17 lib/graphql/schema/always_visible.rb
graphql-2.3.16 lib/graphql/schema/always_visible.rb
graphql-2.3.15 lib/graphql/schema/always_visible.rb
graphql-2.3.14 lib/graphql/schema/always_visible.rb
graphql-2.3.13 lib/graphql/schema/always_visible.rb
graphql-2.3.12 lib/graphql/schema/always_visible.rb
graphql-2.3.11 lib/graphql/schema/always_visible.rb
graphql-2.3.10 lib/graphql/schema/always_visible.rb
graphql-2.3.9 lib/graphql/schema/always_visible.rb
graphql-2.3.8 lib/graphql/schema/always_visible.rb