Module: GraphQL::StaticValidation::TypeStack::FragmentDefinitionStrategy

Extended by:
FragmentWithTypeStrategy
Defined in:
lib/graphql/static_validation/type_stack.rb

Class Method Summary collapse

Methods included from FragmentWithTypeStrategy

pop, push

Class Method Details

.push_path_member(stack, node) ⇒ Object


80
81
82
# File 'lib/graphql/static_validation/type_stack.rb', line 80

def push_path_member(stack, node)
  stack.path.push("fragment #{node.name}")
end