In the implementation of a service, I would like to access the current state of my entity before running the command. Is it possible ?
To be more explicit with what I’m doing:
I have a “RenameCustomer” command. I would like to call another micro-service managing customer name aliases and create a customer name alias with the current name of the customer (before renaming).
That’s why I need the current name of the customer in the service implementation.