In Address book example, you use ClaimedContactName to ensure unique names. But the claim is done in command handler which would result, if using event sourcing, in the empty table of names if we wanted to replay all the events. This is a state change, and it is not handled by an event handler, this contradicts the whole event-sourcing/cqrs rules I’ve read.
Shouldn’t this be handled better somehow and actually change it in the example, so we are not being taught the bad ways?