class ViewModel::TraversalContext

def parent_association(idx = 0)

def parent_association(idx = 0)
  if idx == 0
    @parent_association
  else
    parent_context(idx - 1)&.parent_association
  end
end