I have a module in my Play 2.6.11 app which I want to enable like
play.modules.enabled += "my.Module"
This works great if I use the default (Guice) application loader provide by Play. However, I also need my custom application loader like
play.application.loader = MyApplicationLoader
Together, my.Module is not instantiated.
Does anyone has experience using these 2 together? I have a hard time finding relevant documentation about this as well.
The Play module docs don't mention custom application loaders.