Jakub Pilimon

Results 4 issues of Jakub Pilimon

``` @Override public void save(Book book) { findBy(book.bookId()) .map(entity -> updateOptimistically(book)) .onEmpty(() -> insertNew(book)); } ``` this findBy is only there to have updateOrCreate behavior. But it makes optimistic locking...

1. Start with event storming 2. Start with new package in current implementation 3. Update arch diagrams 4. Minimal model-code gap.

So currently the all of the domain events have information about business facts. If we want to publish them we need to add metadata like: causationID, corellationID, uniqueMessageID etc so...