Method: GraphQL::StaticValidation::TypeStack#directive_definitions

Defined in:
lib/graphql/static_validation/type_stack.rb

#directive_definitionsArray<GraphQL::Node::Directive> (readonly)

Directives are pushed on, then popped off while traversing the tree

Returns:

  • (Array<GraphQL::Node::Directive>)

    directives which have been entered



28
29
30
# File 'lib/graphql/static_validation/type_stack.rb', line 28

def directive_definitions
  @directive_definitions
end