private fun addRelationships(key: RelationshipGroupKey, relationships: Set<Relationship>): Mono<Void>
Adds a group of relationships, where the key.relationshipDefinition has (if present) direction OUTGOING and key.inverseRelationshipDefinition has direction INCOMING If necessary, also adds reverse relationships with _type for authorization purposes
Return
an empty Mono to wait for the end of the operation
Parameters
relationships
the relationships to add
key
defines the relationship