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



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.to_query_string}" : ""}")
end