Sha256: 977b7bdbc02ec60525ca3ff133f13cb3a290f68c2f5e31761a37a51255d45a9d

Contents?: true

Size: 561 Bytes

Versions: 115

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true
module GraphQL
  module Introspection
    class DirectiveLocationEnum < GraphQL::Schema::Enum
      graphql_name "__DirectiveLocation"
      description "A Directive can be adjacent to many parts of the GraphQL language, "\
                  "a __DirectiveLocation describes one such possible adjacencies."

      GraphQL::Schema::Directive::LOCATIONS.each do |location|
        value(location.to_s, GraphQL::Schema::Directive::LOCATION_DESCRIPTIONS[location], value: location)
      end
      introspection true
    end
  end
end

Version data entries

115 entries across 115 versions & 1 rubygems

Version Path
graphql-2.3.22 lib/graphql/introspection/directive_location_enum.rb
graphql-2.1.15 lib/graphql/introspection/directive_location_enum.rb
graphql-1.13.24 lib/graphql/introspection/directive_location_enum.rb
graphql-2.0.32 lib/graphql/introspection/directive_location_enum.rb
graphql-2.1.14 lib/graphql/introspection/directive_location_enum.rb
graphql-2.2.17 lib/graphql/introspection/directive_location_enum.rb
graphql-2.3.21 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.8 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.7 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.6 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.5 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.4 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.3 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.2 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.1 lib/graphql/introspection/directive_location_enum.rb
graphql-2.4.0 lib/graphql/introspection/directive_location_enum.rb
graphql-2.3.20 lib/graphql/introspection/directive_location_enum.rb
graphql-2.3.19 lib/graphql/introspection/directive_location_enum.rb
graphql-2.3.18 lib/graphql/introspection/directive_location_enum.rb
graphql-2.3.17 lib/graphql/introspection/directive_location_enum.rb