- A user registers on our site and gets logged in. A RegsiterUserCommand is sent to an asynchronous command handler.
- The user wants to change their address but the RegisterUserCommand has not been processed yet. There is no user record in the system.
Is this a case for synchronous command handlers? A user record would be created prior to authenticating the user. Or should I rethink the requirement to authentic users after registration? Users won’t be able to gain access to the site until their account has been created. If users don’t gain access to the system straightaway there may be drop off in usage.
Is it common to see a mix of synchronous and asynchronous command handlers in a CQRS system?