Sha256: e61fedf6f1ee1390df2757e43fc25e5603d0ef4fdc919decdb6ca23e60de6d25

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

GraphQL::Introspection::DirectiveType = GraphQL::ObjectType.define do
  name "__Directive"
  description "A query directive in this schema"
  field :name, !types.String, "The name of this directive"
  field :description, types.String, "The description for this type"
  field :args, field: GraphQL::Introspection::ArgumentsField
  field :locations, !types[!GraphQL::Introspection::DirectiveLocationEnum]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-0.14.0 lib/graphql/introspection/directive_type.rb
graphql-0.13.0 lib/graphql/introspection/directive_type.rb