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

Skip to content

Conversation

@mkurz
Copy link
Owner

@mkurz mkurz commented Feb 16, 2018

Since Play 2.6.11 we are able to use @Repeatable Java action annotations: playframework/playframework#8117 / playframework/playframework#8144

This allows us to use deadbolt like:

@Pattern(...)
@Pattern(...)
public Result myActionMethod() {
    //....
}

Together with the AND mode I implemented that's a real great feature I guess.

This is also backward compatible.

@mkurz mkurz merged commit 5806493 into mkurz:master Feb 16, 2018
@mkurz mkurz deleted the repeatableConstraints branch February 16, 2018 09:22
@mkurz mkurz added this to the 2.6.4 milestone Feb 17, 2018
@mkurz mkurz mentioned this pull request Feb 28, 2018
16 tasks
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.

1 participant