booster
booster copied to clipboard
[Question] - How to return data from a command
I really thought I saw an existing issue for this. I understand commands are not meant to return entity or read model data. However, returning generated UUIDs could be useful for web applications to wait for read model updates based on the id. Without this, it is impossible for a web application to open a detail page after creating a new "entity". The only other solution would be to pass an ID from the web application, but this would introduce security issues unless extra validation is added.
@thomas-advantitge, This isn't possible currently but we have created this GitHub issue to implement it soon.