Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 66889

Command Query Responsibility Segregation design pattern

20 votes
3 answers
8k views

How to handle post-validation errors in command (DDD + CQRS)

For example, when you submit a Register form, you have to check in the Domain Model (WriteModel in CQRS) that it is in a valid state (example, email address syntax, age, etc). …
JorgeeFG's user avatar
  • 697
7 votes
2 answers
2k views

Can readmodel and writemodel inherit from Model for fields in DDD + CQRS?

I'm new to DDD + CQRS, and I'm working in a project that has this implemented, but I wonder why the guy duplicates the models. …
JorgeeFG's user avatar
  • 697