Re: Validation in CQRS Journey Conference project

"wonderfulworldofpingpong" <[email protected]>
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <[email protected]>
The conflict will happen if two users create the same conference.

--- In [email protected], Mauro Servienti <mauro@...> wrote:
>
> What you are describing is a workflow/saga, that is async, and works pretty fine in your scenario.
> The only scenario where things get complicated is when, as you noticed, validation involves more BCs.
> In this case is the entry point BC that can take a decision:
> 
> -          Create Conference: Is there already a conflicting create conference process?
> 
> o   Yes: fail immediately;
> 
> o   No: start the creation process;
> 
> ?  ValidateRequest;
> 
> ?  ....and so on;
> 
> .m




------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.