Sha256: b0f9872a96b13fe2e204f698bd99f4ac4f7775bfe928cdd9cda36e28cdb7cff7

Contents?: true

Size: 863 Bytes

Versions: 27

Compression:

Stored size: 863 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]
  field :onOperation, !types.Boolean, "Does this directive apply to operations?", deprecation_reason: "Moved to 'locations' field", property: :on_operation?
  field :onFragment, !types.Boolean, "Does this directive apply to fragments?", deprecation_reason: "Moved to 'locations' field", property: :on_fragment?
  field :onField, !types.Boolean, "Does this directive apply to fields?", deprecation_reason: "Moved to 'locations' field", property: :on_field?
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
graphql-0.18.15 lib/graphql/introspection/directive_type.rb
graphql-0.18.14 lib/graphql/introspection/directive_type.rb
graphql-0.18.13 lib/graphql/introspection/directive_type.rb
graphql-0.18.12 lib/graphql/introspection/directive_type.rb
graphql-0.18.11 lib/graphql/introspection/directive_type.rb
graphql-0.18.10 lib/graphql/introspection/directive_type.rb
graphql-0.18.9 lib/graphql/introspection/directive_type.rb
graphql-0.18.8 lib/graphql/introspection/directive_type.rb
graphql-0.18.7 lib/graphql/introspection/directive_type.rb
graphql-0.18.6 lib/graphql/introspection/directive_type.rb
graphql-0.18.5 lib/graphql/introspection/directive_type.rb
graphql-0.18.4 lib/graphql/introspection/directive_type.rb
graphql-0.18.3 lib/graphql/introspection/directive_type.rb
graphql-0.18.2 lib/graphql/introspection/directive_type.rb
graphql-0.18.1 lib/graphql/introspection/directive_type.rb
graphql-0.18.0 lib/graphql/introspection/directive_type.rb
graphql-0.17.2 lib/graphql/introspection/directive_type.rb
graphql-0.17.1 lib/graphql/introspection/directive_type.rb
graphql-0.17.0 lib/graphql/introspection/directive_type.rb
graphql-0.16.1 lib/graphql/introspection/directive_type.rb