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-1.8.6 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.5 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.4 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.3 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.2 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.1 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre11 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre10 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre9 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre8 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre7 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre6 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre5 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre4 lib/graphql/introspection/directive_location_enum.rb
graphql-1.8.0.pre3 lib/graphql/introspection/directive_location_enum.rb