[ https://issues.apache.org/jira/browse/SYNCOPE-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072708#comment-16072708 ]
Colm O hEigeartaigh commented on SYNCOPE-1138: ---------------------------------------------- A few thoughts on this: a) Should we report both ends of the relationship or only the "opposite" end of the Relationship via RelationshipTO? It seems a bit redundant for example to state the left hand side of a relationship if it is the same AnyType that is being returned. b) Should we do the same for MembershipTO? c) What is the best way to set the "opposite" side of the Relationship? For example, when returning an AnyType object, should we search for the "left" relationships associated with this object. Or when setting a relationship in the opposite direction on creation/update, do we then set it on the other side of the relationship? > Update RelationshipTO to also report the "left" end of a relationship > --------------------------------------------------------------------- > > Key: SYNCOPE-1138 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1138 > Project: Syncope > Issue Type: Improvement > Components: common, console, core > Reporter: Colm O hEigeartaigh > Assignee: Colm O hEigeartaigh > Fix For: 2.0.5, 2.1.0 > > > Currently, the RelationshipTO object only reports the "right" end of a > relationship. However, as relationships in Syncope are bi-directional, we > should also report the "left" end of a relationship. This will make searching > for AnyTypes a bit easier than it is at present. -- This message was sent by Atlassian JIRA (v6.4.14#64029)