Sha256: e133e27ac44827a2de4538a17bdf832ebf03fa5069328f5cda3b3fc71bc2959b

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
graphql-1.3.0 lib/graphql/introspection/directive_location_enum.rb