I was just wondering how other people working on large applications deal with the class pollution from having tons of small command classes?
Basically we don't want to be accessing proxies from mediators and would rather have all of the logic done in commands, otherwise it really dilutes the purpose of even having commands imo, I would rather deal with centralized logic.
Now saying that, how do you handle having 100s, if not 1000s of command classes in your application? Do you try to cut them down to 10-50 core commands and then use the "type" in the command and switch off that? I have tried this but it couples the mediator with commands a little as you have to know the type you are firing, it can no longer just be a basic registration.
I would love to hear how others solve this issue.