You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to upgrade from play 2.4.x to 2.5.x, i saw that starting from 2.5.x play.api.Play.current need to be used with DI now, i tried to wire play.Configuration but i get the following error Cannot find a value of type: [com.typesafe.config.Config] how can i wire application.configuration & application.environment through macwire ?
I also tried with @Inject but it seems @Inject conflict with wire.
Sorry if my question is silly, i'm a beginner in scala play not really used to all of that.
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to upgrade from play 2.4.x to 2.5.x, i saw that starting from 2.5.x
play.api.Play.current
need to be used with DI now, i tried to wireplay.Configuration
but i get the following errorCannot find a value of type: [com.typesafe.config.Config]
how can i wire application.configuration &application.environment
through macwire ?I also tried with @Inject but it seems @Inject conflict with wire.
Sorry if my question is silly, i'm a beginner in scala play not really used to all of that.
The text was updated successfully, but these errors were encountered: