Skip to content

Conversation

@geecu
Copy link

@geecu geecu commented Jul 12, 2014

If userA follows userB, trying to add userB as a follower of userA throws an exception as the users are already connected. I can see the value of keeping bidirectional connections (where whether a node is the source or the destination doesn't matter), for friend connections, for example, but one way connections should also be possible. I've kept the default behaviour to two-ways connections in order not to introduce backward incompatibilities. Also, there might be more changes needed, for now only the Manager::connect and Repository::areConnected are aware of the direction of the connection.

Gunther Konig added 2 commits July 12, 2014 10:13
…A follows userB doesn't imply userB follows userA (one way connection) but userA is friend with userB (hopefully :D) does (two way connection)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant