Sha256: 774fbc56636d1eda66cafded963909ee8c0bc1bfbf901b3bfb823542d5b9b538
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-1.3.0 | lib/graphql/directive/skip_directive.rb |