Sha256: 6a60411b9457f729e2d2211a1621dcecb2c61e61080eca4e6a05c5592b3de884

Contents?: true

Size: 290 Bytes

Versions: 32

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true
module GraphQL
  module Introspection
    SchemaField = GraphQL::Field.define do
      name("__schema")
      description("This GraphQL schema")
      type(!GraphQL::Introspection::SchemaType)
      resolve ->(o, a, ctx) { ctx.query.schema }
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
graphql-1.8.0.pre2 lib/graphql/introspection/schema_field.rb
graphql-1.7.7 lib/graphql/introspection/schema_field.rb
graphql-1.8.0.pre1 lib/graphql/introspection/schema_field.rb
graphql-1.7.6 lib/graphql/introspection/schema_field.rb
graphql-1.7.5 lib/graphql/introspection/schema_field.rb
graphql-1.7.4 lib/graphql/introspection/schema_field.rb
graphql-1.7.3 lib/graphql/introspection/schema_field.rb
graphql-1.7.2 lib/graphql/introspection/schema_field.rb
graphql-1.7.1 lib/graphql/introspection/schema_field.rb
graphql-1.7.0 lib/graphql/introspection/schema_field.rb
graphql-1.6.8 lib/graphql/introspection/schema_field.rb
graphql-1.6.7 lib/graphql/introspection/schema_field.rb
graphql-1.6.6 lib/graphql/introspection/schema_field.rb
graphql-1.6.5 lib/graphql/introspection/schema_field.rb
graphql-1.6.4 lib/graphql/introspection/schema_field.rb
graphql-1.5.15 lib/graphql/introspection/schema_field.rb
graphql-1.6.3 lib/graphql/introspection/schema_field.rb
graphql-1.6.2 lib/graphql/introspection/schema_field.rb
graphql-1.6.1 lib/graphql/introspection/schema_field.rb
graphql-1.6.0 lib/graphql/introspection/schema_field.rb