-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TagsSpanTagger: how to support in play 2.7 #4
Comments
Thanks for doing this! I've pinged the team internally. A group is working on migrating to Play 2.7 and will likely have time to look at this in the next week. |
cc @sriraamas |
hmm, @pjfanning do you have a use case for |
@tmccombs I don't use it either - I was just trying to retain support in case other people used it |
Should be fixed by #5, though it might be worth publishing an actual Play 2.7 version of this library and removing the TagsSpanTagger. |
This class depends on being able to iterate over the request tags.
Play 2.7 removes the ability to do this.
request.tags
calledrequest.attrs.get(RequestAttrKey.Tags)
(play 2.6) but RequestAttrKey.Tags is no longer supported in play 2.7. The 2.6 deprecation warning said to use request.attrs directly.request.attrs does not return a Map. Instead, it returns a TypedMap that does not expose an iterator. This means you can only access attrs that you know the key name of.
The text was updated successfully, but these errors were encountered: