Re:The Idempotency-Key HTTP header field
by chrismorgan on Sunday July 04, 2021 @01:31PM
(#27731237)
> CQRS doesn’t obviate race conditions.
I think you may be talking at cross purposes with me here. I’m saying that command–query separation¹ causes race conditions. Having the mutating API return state is the only way to obtain the value of the resource at the time of mutation.
—
¹ CQS; CQRS, where you use different representations for command and query, is not necessarily applicable here.
I think you may be talking at cross purposes with me here. I’m saying that command–query separation¹ causes race conditions. Having the mutating API return state is the only way to obtain the value of the resource at the time of mutation.
—
¹ CQS; CQRS, where you use different representations for command and query, is not necessarily applicable here.