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
Event contains too much information. Decompose it.
Of particular concern is the Event.CrispyFishMetadata.peopleMap. Mapping a full Event (domain model) requires looking up every Person referenced by the event. This isn't necessarily inefficient when producing results for an event because those objects can all be used, but for a basic operation like listing Events, etc, it's super wasteful. Create a MinimalEvent (domain model) and replace Event usages with that where possible.
The text was updated successfully, but these errors were encountered:
Event
contains too much information. Decompose it.Of particular concern is the
Event.CrispyFishMetadata.peopleMap
. Mapping a fullEvent
(domain model) requires looking up everyPerson
referenced by the event. This isn't necessarily inefficient when producing results for an event because those objects can all be used, but for a basic operation like listing Events, etc, it's super wasteful. Create aMinimalEvent
(domain model) and replaceEvent
usages with that where possible.The text was updated successfully, but these errors were encountered: