Skip to content

Conversation

@FrankX-xzh
Copy link

I apply the first aggregate pattern in app/service/location to guarantee the consistency of changes to objects in the project. In init.py, I add the class LocationServices to contain different data-source’s LocationService as a unit for the purpose of the data changes. The LocationServices is the root of the aggregate. The outside objects can get different data-source’s LocationService by the root.

@Kilo59
Copy link
Collaborator

Kilo59 commented Jul 24, 2021

This just seems to add complexity to the code without adding much value.

@Kilo59 Kilo59 closed this Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants