Sha256: 3685afd700bec72299d574e07fcd72cbb31b8835830c134e625404601a609642
Contents?: true
Size: 429 Bytes
Versions: 75
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true GraphQL::Directive::IncludeDirective = GraphQL::Directive.define do name "include" description "Directs the executor to include this field or fragment only when the `if` argument is true." locations([GraphQL::Directive::FIELD, GraphQL::Directive::FRAGMENT_SPREAD, GraphQL::Directive::INLINE_FRAGMENT]) argument :if, !GraphQL::BOOLEAN_TYPE, 'Included when true.' default_directive true end
Version data entries
75 entries across 75 versions & 1 rubygems