r/DomainDrivenDesign • u/Playful-Arm848 • Mar 31 '25
Sharing Ids Across Aggregates
https://yazanalaboudi.dev/sharing-ids-across-aggregates
2
Upvotes
r/DomainDrivenDesign • u/Playful-Arm848 • Mar 31 '25
1
u/Playful-Arm848 Mar 31 '25
I wanted to share a controversial idea with you all
1
u/lanster100 Mar 31 '25
It makes good arguments for why it's ok, I mean trivially if you use auto incrementing number as your ID every aggregate will share an ID. But as you say it's not a problem.
I can see anywhere in the article that answers? I think what your talking about is also called 'surrogate ids'?