There is a small mistake in the Anemic Domain Models vs. Rich Domain Models chapter.
There is a class called UpdateOrderAmountService trying to update the amount of an order, but instead of using the orderId you are forcing to find the order with the id = 1.
Hey! Congrats for the book!
There is a small mistake in the Anemic Domain Models vs. Rich Domain Models chapter.
There is a class called UpdateOrderAmountService trying to update the amount of an order, but instead of using the orderId you are forcing to find the order with the id = 1.
Thanks for all the knowledge!