About two months ago I worked on the microservice for my company’s new product. The whole thing was based on the CQRS pattern which is basically about splitting the application into reads (queries) and writes (commands). I came to the point when I wanted to validate a command object received from RabbitMQ. Without thinking, I started coding another if statements which after a while became my „domain logic”. I’m not going to present the example code because I’m ...
Sztuka programowania 2543 dni, 15 godzin, 11 minut temu 135 źrodło rozwiń