Closed gmblogref closed 11 years ago
I don't know if the code committed in b36c06d4bde0efa4d37d88845fb0fab0715a7704 will meet the requirements of this user story since it will only allow a user to have a single friend. While the model specifies that there is a collection of UserProfiles tied to the Friends property, the actual database schema generated only appears to associate a UserProfile with a single entity.
I think we may need to create a join table/model for this functionality to work as intended so a user can be associated with one or more friends.
What I had in code that I checked in and tested today allowed for multiple friends to be added. You could only add one at a time.
This should be working now. You can see your friends list from under your username. If you have no users you can search for friends in the search option.
I added a use case to support this code
Have the ability to add another user as a friend