ChaelCodes / MeetAnotherDay

An app to help you find and meet up with your friends at conferences.
MIT License
35 stars 20 forks source link

Redesign Friendship #186

Closed ChaelCodes closed 3 months ago

ChaelCodes commented 5 months ago

We've been trying to treat Friendship as a unified single model. This is starting to break down as be build more Friendship-related functionality. Friendships are bi-directional. Each person has a different feeling about the other person, and those feelings could be aligned and reciprocated, but they aren't necessarily.

Instead of trying to enforce that both people feel the same way about each other, and querying friend and buddy, this refactor will create a system where there are up to two friendship objects in a relationship between two profiles. One that describes how Profile A feels about Profile B, and one that describe how Profile B feels about Profile A. This will help when it comes to querying whether a profile has access to another profile's events, and whether a profile is interested in another Profile's events.

Decisions