Sha256: 034bc6cb8a5693a70f2d4a7a47af92f9bed617efa492ad38de6025d980118a55

Contents?: true

Size: 426 Bytes

Versions: 14

Compression:

Stored size: 426 Bytes

Contents

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
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
graphql-1.2.6 lib/graphql/introspection/directive_location_enum.rb
graphql-1.2.5 lib/graphql/introspection/directive_location_enum.rb
graphql-1.2.4 lib/graphql/introspection/directive_location_enum.rb
graphql-1.2.3 lib/graphql/introspection/directive_location_enum.rb
graphql-1.2.2 lib/graphql/introspection/directive_location_enum.rb
graphql-1.2.1 lib/graphql/introspection/directive_location_enum.rb
graphql-1.2.0 lib/graphql/introspection/directive_location_enum.rb
graphql-1.1.0 lib/graphql/introspection/directive_location_enum.rb
graphql-1.0.0 lib/graphql/introspection/directive_location_enum.rb
graphql-0.19.4 lib/graphql/introspection/directive_location_enum.rb
graphql-0.19.3 lib/graphql/introspection/directive_location_enum.rb
graphql-0.19.2 lib/graphql/introspection/directive_location_enum.rb
graphql-0.19.1 lib/graphql/introspection/directive_location_enum.rb
graphql-0.19.0 lib/graphql/introspection/directive_location_enum.rb