Sha256: 9a35fec78676ce918ed153f77d5810d2609ae42b55bcea057e911657d9c17155

Contents?: true

Size: 360 Bytes

Versions: 14

Compression:

Stored size: 360 Bytes

Contents

GraphQL::Directive::SkipDirective = GraphQL::Directive.define do
  name "skip"
  description "Directs the executor to skip this field or fragment when the `if` argument is true."
  locations([GraphQL::Directive::FIELD, GraphQL::Directive::FRAGMENT_SPREAD, GraphQL::Directive::INLINE_FRAGMENT])

  argument :if, !GraphQL::BOOLEAN_TYPE, 'Skipped when true.'
end

Version data entries

14 entries across 14 versions & 1 rubygems

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