You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public async findPeopleWithId(personId: string): Promise<IPerson[]> { is awkward enough on its own, but what I only just realised is that a person may appear in multiple events with different roles.
This means that having the role on IPerson is pretty poor — I'm really not a fan of having multiple people per ID that correspond to the same physical human being acting in multiple capacities. Some denormalisation would be appreciated.
The text was updated successfully, but these errors were encountered:
public async findPeopleWithId(personId: string): Promise<IPerson[]> {
is awkward enough on its own, but what I only just realised is that a person may appear in multiple events with different roles.This means that having the
role
onIPerson
is pretty poor — I'm really not a fan of having multiple people per ID that correspond to the same physical human being acting in multiple capacities. Some denormalisation would be appreciated.The text was updated successfully, but these errors were encountered: