private suspend fun validateRelation(relation: Relation, startTemplate: RelationPartnerTemplate<*, *>, endTemplate: RelationPartnerTemplate<*, *>)
Validates if a Relation an still exist after the template of either its start or end has been updated If not, deletes the relation and handles the resulting graph update
Parameters
relation
the Relation to validate
startTemplate
the template of its start
endTemplate
the template of its end