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

Skip to content

Conversation

@dickwall
Copy link

Pull Request Checklist

Fixes

Purpose

Corrects the code example shown in the documentation for using a wsclient without injecting the configuration through play.

Background Context

The code on the documentation page would not compile without this change.

Since environment is referenced in the parser definition, it needs to be included in the documented snippet of code. It took me a few minutes of head scratching to work out what this should be, and I was heartened to see that I ended up with the exact same definition as is in the code, it's just not included in the code sample on the page.
@jroper jroper merged commit 4488248 into playframework:2.5.x May 11, 2016
@wsargent
Copy link
Member

Does this need forward porting?

@mkurz mkurz added this to the 2.5.4 milestone Jun 2, 2016
wsargent pushed a commit to wsargent/playframework that referenced this pull request Jun 5, 2016
Since environment is referenced in the parser definition, it needs to be included in the documented snippet of code. It took me a few minutes of head scratching to work out what this should be, and I was heartened to see that I ended up with the exact same definition as is in the code, it's just not included in the code sample on the page.
mkurz pushed a commit that referenced this pull request Jun 5, 2016
Since environment is referenced in the parser definition, it needs to be included in the documented snippet of code. It took me a few minutes of head scratching to work out what this should be, and I was heartened to see that I ended up with the exact same definition as is in the code, it's just not included in the code sample on the page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants