python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
C# MediatR: Return nested/compound DTO
I want to return a compound/nested DTO SearchDto which includes Status(timeMs, resultsFound) and List<SearchResult>.
Example JSON DTO
{
status: {
timeMs: 0.038583,
found: 728,
...
Luke Martin
Votes: 0
Answers: 1
In Clean Architecture with CQRS pattern, should a type used only in a command go in the Application or in the Entities layer?
In Clean Architecture applied to an API with CQRS pattern, if I have a command in the Application layer for modeling the post payload of an endpoint and that command has a property of type X that is o...
user33276346
Votes: 0
Answers: 1
how to design REST API to ask server to wait for resource version to arrive on GET requests?
I work on splitting monoliths into microservices. With the monolith, I had a single source of truth and can just GET /resources/123 right after the PATCH /resources/123 and be sure that the database h...
light_keeper
Votes: 0
Answers: 2
Why my interface is not instantiable when handle a command?
Laravel CQRS
I am applying CQRS in Laravel just to learn how to use it.
I created a simple user registration and a controller that creates a command to dispatch the handle and use the right use case.
...

desancheztorres
Votes: 0
Answers: 1