private suspend fun validateRelationStartAndEnd(start: RelationPartner, end: RelationPartner, template: RelationTemplate)
Validates that a start, end and relationPartner combination is valid This includes checking that a relation is not created in the context of the same ComponentVersion
Parameters
start
the start of the Relation
end
the end of the Relation
template
the template of the Relation
Throws
if the combination is invalid