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

Change references to Location to UnLocode in domain objects #36

Open
paulrayner opened this issue Jun 8, 2013 · 0 comments
Open

Change references to Location to UnLocode in domain objects #36

paulrayner opened this issue Jun 8, 2013 · 0 comments
Assignees

Comments

@paulrayner
Copy link
Owner

Location is an aggregate root, and there are references to it all over the place, including from Leg, which is a value object. Would like to try changing all these to use the UnLocode value object, which is the business key for Location.

This change is a deviation from the original DDD sample app and will likely mean more calls to LocationRepsitory (which could be cached if needed, since there are not that many values), but should make working with all the aggregates a lot cleaner by making the aggregate boundaries more well-defined.

@ghost ghost assigned paulrayner Jun 8, 2013
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

No branches or pull requests

1 participant