Why not generating overloads of the Send method rather than using a switch? #213
GiottoVerducci
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
hmm, I see that those two methods exists already. Why is the switch needed then? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
That makes totally sense! Thanks for your answer! |
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.
-
I'm asking this because I use Mapperly which does generate multiple method (by design, because you only declare a partial method, and it generates the code for it) and when I look at the code generated by Mediator, it becomes quickly slow to navigate.
So instead of
why not have two methods?
and
Beta Was this translation helpful? Give feedback.
All reactions