-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
A while back I tried to implement this mediator in a modular system where:
- Contracts project has mediator request objects
- Module project has mediator handlers, marked internal
- we have various front end executables (desktop, web) that dynamically load the modules at startup (like plugins).
This mediator hit a major roadblock with this app configuration, as I recall, stemming from how the EXE that does "AddMediator" contains all the generated source, and therefore, must know about all the modules that will be used up front. I think the handlers also had to be public for that reason.
Is this still the case in v3.0, or is this kind of app configuration supported?
From what I understand, the source generation would have to happen in each module (handler owner), and the mediator services registered on startup would have to support multiple modules each with their own generated source.
ChaosHelme, amedora, PatrykPlewaOfficial, amyboose, jnsn and 5 more
Metadata
Metadata
Assignees
Labels
No labels