Sha256: 38ec21ac0532d6687d3b96339402bfc2214648470791a7441e4cab8195912335

Contents?: true

Size: 477 Bytes

Versions: 46

Compression:

Stored size: 477 Bytes

Contents

# frozen_string_literal: true
GraphQL::Introspection::DirectiveLocationEnum = GraphQL::EnumType.define do
  name "__DirectiveLocation"
  description "A Directive can be adjacent to many parts of the GraphQL language, a "\
              "__DirectiveLocation describes one such possible adjacencies."

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

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
graphql-1.7.14 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.13 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.12 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.11 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.10 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.9 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.8 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre2 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.7 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre1 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.6 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.5 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.4 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.3 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.2 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.1 lib/graphql/introspection/directive_location_enum.rb
graphql-1.7.0 lib/graphql/introspection/directive_location_enum.rb
graphql-1.6.8 lib/graphql/introspection/directive_location_enum.rb
graphql-1.6.7 lib/graphql/introspection/directive_location_enum.rb
graphql-1.6.6 lib/graphql/introspection/directive_location_enum.rb