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



78
79
80
# File 'lib/graphql/static_validation/type_stack.rb', line 78

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