Why does the Handle method of IHandleRequests<TRequest> return TRequest? #2360
Answered
by
iancooper
joe-hamilton-wesd
asked this question in
Q&A
-
|
Why does the Handle method of IHandleRequests return a request TRequest (command or event) instead of void? Is that a requirement in order for the framework to work? I don't see how that is being utilized. |
Beta Was this translation helpful? Give feedback.
Answered by
iancooper
Dec 6, 2022
Replies: 1 comment
-
|
Sorry @ninkasi99 I missed this. It allows us to chain middleware handlers together: If you want to deep dive: https://brightercommand.gitbook.io/paramore-brighter-documentation/under-the-hood/howbrighterworks |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
iancooper
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry @ninkasi99 I missed this. It allows us to chain middleware handlers together:
If you want to deep dive: https://brightercommand.gitbook.io/paramore-brighter-documentation/under-the-hood/howbrighterworks