Replies: 1 comment
-
I don't really understand the need for this, myself.. Why wouldn't you just namespace the queries and then only reference the ones you need? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As soon as IMediator is injected to a class, their is no limit to what the class can do; it's conceivable that the wrong query / notification could be used, and mistakes could be spread around anywhere in a class. There's no definition of capability at the class level.
Alternatively, if you inject several services into a class constructor, there's a single point of reference where
What if there was a way to get those benefits in mediator?
Something like
And a custom rosalyn analyzer which could provide design and build time validation?
Beta Was this translation helpful? Give feedback.
All reactions