class ViewModel::DeserializationError::InvalidAssociationType

association.
The target of an association was not a valid view type for that

def detail

def detail
  "Invalid target viewmodel type '#{target_type}' for association '#{association}'"
end

def initialize(association, target_type, node)

def initialize(association, target_type, node)
  @association = association
  @target_type = target_type
  super([node])
end

def meta

def meta
  super.merge(association: association,
              target_type: target_type)
end