Module: GraphQL::StaticValidation::TypeStack::InlineFragmentStrategy

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


88
89
90
# File 'lib/graphql/static_validation/type_stack.rb', line 88

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