EventsModules: Only call modules & functions that exist
cpursley opened this issue · 2 comments
cpursley commented
Evn flag to disable calling assumed modules:
https://github.com/cpursley/walex/blob/master/lib/walex/events.ex#L28
cpursley commented
Maybe also consider DynamicSupervisor for Events in situation where modules aren't used (as sometimes just EventRelay and/or webhooks used without modules).
cpursley commented
Actually, just cache which modules exist at compile time and only call those.