Comments (3)
This is probably more of a nice-to-have. It will probably result bigger consequences on the domain model than what's warranted.
from goddd.
This is an answer to this tweet:
In the original sample app, there's a separate handling package but due to circular dependencies (Delivery
-> HandlingEvent
-> Cargo
), I have merged the handling package into the cargo one.
This is most likely impossible to resolve without a non-trivial redesign. The best way would obviously be to avoid circular deps from the start. So far, I've wanted to keep as much of the original design as possible, but this issue might deserve diverging a bit from that design.
from goddd.
Hi @marcusolsson, is this not possible by replacing the "TrackingID" type with just "ID" type? I don't see why maintaining this dependency is worthwhile (or if it should be emulated in other projects) purely to more specifically describe what kind of ID an ID is.
from goddd.
Related Issues (20)
- Does the implementation of routing service really belong to booking? HOT 1
- RequestPossibleRoutesForCargo returns domain objects HOT 1
- Application services use both DTOs and domain objects HOT 3
- routing package contains both domain and infrastructure
- Improve test suites HOT 1
- inspection.EventHandler needs implementation
- Adopt a package management tool / makefile HOT 3
- Idiomatic way of attaching authentication HOT 6
- Add validation of domain objects HOT 10
- Examples using SQL and relational models. HOT 8
- improving package names HOT 4
- Question about aggregates HOT 2
- Docker example failure to start. HOT 1
- Returning interfaces? HOT 3
- Moving source code to src/pkg/app directory HOT 2
- Database transactions HOT 4
- invalid memory address or nil pointer dereference
- Use forms in POST requests
- http://dddsample.marcusoncode.se/docs/ HOT 2
- Extract server package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goddd.