Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gmethvin
Copy link
Member

Seems weird that play.Environment does not have a binding but play.api.Environment does.

@benmccann
Copy link
Contributor

Hmm, I just grepped play.Environment in my Play 2.4 app and see a couple places where I'm injecting it. Could it be bound someplace else or was it removed since then? Definitely agree that we want it to be injectable

@gmethvin
Copy link
Member Author

@benmccann That is probably because you're using Guice and Guice has just in time bindings.

@marcospereira
Copy link
Member

Backported to 2.5.x here: ce6969b

wsargent pushed a commit to wsargent/playframework that referenced this pull request Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants