Class: GraphQL::StaticValidation::TypeStack::FragmentDefinitionStrategy

Inherits:
FragmentWithTypeStrategy show all
Defined in:
lib/graphql/static_validation/type_stack.rb

Instance Method Summary collapse

Methods inherited from FragmentWithTypeStrategy

#pop, #push

Instance 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