Class: GraphQL::StaticValidation::TypeStack::InlineFragmentStrategy

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



86
87
88
# File 'lib/graphql/static_validation/type_stack.rb', line 86

def push_path_member(stack, node)
  stack.path.push("...#{node.type ? " on #{node.type}" : ""}")
end