module GraphQL::StaticValidation::TypeStack::DirectiveStrategy
Public Instance Methods
pop(stack, node)
click to toggle source
# File lib/graphql/static_validation/type_stack.rb, line 136 def pop(stack, node) stack.directive_definitions.pop end
push(stack, node)
click to toggle source
# File lib/graphql/static_validation/type_stack.rb, line 131 def push(stack, node) directive_defn = stack.schema.directives[node.name] stack.directive_definitions.push(directive_defn) end