May 19, 2021
Thanks!
Event though a command has a response, it can still change the state of the system. The response it just about sending a confirmation about the completion of the operation. So this is not an idempotent operation.
But a query MUST return a response, even if the result is empty. But queries dont change the state of a system.