Get aggregate ID from AggregateState #1089
Unanswered
ryan-nguyen-contemi
asked this question in
Q&A
Replies: 1 comment
-
Since you get the aggregate ID via the constructor when the aggregate is created, you can create the state within the constructor and pass the ID. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In read model, we can get aggregate ID like this:
What is the equivalent of the above code in
AggregateState
?Beta Was this translation helpful? Give feedback.
All reactions