-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convey.WebApi / invocation of IRequestHandler #35
Comments
change IRequest to ICommand and IRequestHandler to ICommandHandler |
Thanks for response, but ICommand does not have any result type, which is crucial for me. |
|
Thanks for the answer! I know about ICommandHandler and ICommand interfaces (and I use them with no problem). However I would like to bend CQRS assumptions a little, and I would like that commands are able to return the value to the client. According to the documentation (https://convey-stack.github.io/documentation/Web-API/) IRequestHandler interface is ideal for this scenario, but the example from documentation does not work. |
I understand the frustration, I recently swapped in MediatR (https://www.nuget.org/packages/MediatR/) with success, maybe if you are blocked this could be a solution?. |
Neither of the CQRS packages provide you such thing, however there's the
|
Hello,
I have a problem with an invocation of simple IRequestHandler. The handler will never get invoked.
The text was updated successfully, but these errors were encountered: