Sha256: 306949ee4657c79d13e3b32f71680d6cdef78827942cc55bb5ab4bbdbd68c09a
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 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.' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-1.3.0 | lib/graphql/directive/include_directive.rb |