Sha256: 9e06357d9765d6342acf7b88ced28ffd453cefc2786787ab634db718624112b6

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

GraphQL::Directive::IncludeDirective = GraphQL::Directive.define do
  name "include"
  description "Include this part of the query if `if` is true"
  locations([GraphQL::Directive::FIELD, GraphQL::Directive::FRAGMENT_SPREAD, GraphQL::Directive::INLINE_FRAGMENT])
  argument :if, !GraphQL::BOOLEAN_TYPE
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
graphql-0.18.15 lib/graphql/directive/include_directive.rb