What is the purpose of `id` in a command?
See original GitHub issueOn this line: https://github.com/adrai/cqrs-sample/blob/master/domain/server.js#L17 we are defining some Id. But we also define the aggregateId
. What is the purpose of id:
? Is it supposed to change? Be static?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Id command in Linux
id is a command-line utility that prints the real and effective user and group IDs. The id command prints information about a given...
Read more >id command in Linux with Examples
1. The id command without any arguments shows the the user and group names and numeric IDs, of the calling process i.e. the...
Read more >Linux id Command
Linux id command is used to print the genuine and effective user ID and group ID. A user ID (UID) is a particular...
Read more >Linux Id Command Tutorial
To display your own identity, type id in the terminal. It will display your id, primary group id, and supplementary groups ids if...
Read more >id Command
Supplementary group information is written only for systems supporting multiple-user groups and only if the specified user belongs to a supplementary group. The ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You could think of it as a request/transaction ID, it identifies this exact command “request”, as a result a
correlationId
with the exact same ID is attached to the resulted event(s) and even further notification(s) ( ie. readmodel events ) for tracking/coupling ( extremely important when working with a message bus ).the name of the command identifies the behaviour in your aggregate… it’s not the identifier of that message… i.e. how do you distinguish 2 commands (‘editAccount’) that looks the same?