Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decompose Event entity #58

Open
carltonwhitehead opened this issue Feb 26, 2022 · 0 comments
Open

Decompose Event entity #58

carltonwhitehead opened this issue Feb 26, 2022 · 0 comments
Assignees

Comments

@carltonwhitehead
Copy link
Contributor

carltonwhitehead commented Feb 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Queued
Development

No branches or pull requests

1 participant