Sha256: acdd7b7b293af4627021759cb6d3b32935d6566e52709f52ceacb56df082d470

Contents?: true

Size: 545 Bytes

Versions: 116

Compression:

Stored size: 545 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::Directive::LOCATIONS.each do |location|
        value(location.to_s, GraphQL::Directive::LOCATION_DESCRIPTIONS[location], value: location)
      end
      introspection true
    end
  end
end

Version data entries

116 entries across 116 versions & 2 rubygems

Version Path
graphql_cody-1.13.0 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.24 lib/graphql/introspection/directive_location_enum.rb
graphql-1.13.5 lib/graphql/introspection/directive_location_enum.rb
graphql-1.13.4 lib/graphql/introspection/directive_location_enum.rb
graphql-1.13.3 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.23 lib/graphql/introspection/directive_location_enum.rb
graphql-1.13.2 lib/graphql/introspection/directive_location_enum.rb
graphql-1.13.1 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.22 lib/graphql/introspection/directive_location_enum.rb
graphql-1.13.0 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.21 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.20 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.19 lib/graphql/introspection/directive_location_enum.rb
graphql-1.11.10 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.18 lib/graphql/introspection/directive_location_enum.rb
graphql-1.11.9 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.17 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.16 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.15 lib/graphql/introspection/directive_location_enum.rb
graphql-1.12.14 lib/graphql/introspection/directive_location_enum.rb