playframework/Play20 — pull request #483 by blakepettersson (2012-10-12 23:19:59+00:00)
Title: Simplify extending Actions with custom requests

My use case is that I want to be able to extend an Action with a custom request in a simple manner. After looking at this [discussion](https://groups.google.com/d/topic/play-framework/ZBLeUTo9aMk/discussion) I figured that there should be a simpler way of implementing this.

In my pull request there are some modifications to Action[A] and ActionBuilder - both of these traits are now parameterized by Request as well. All a user has to do now is to either extend Action[T, R], and supply an implementation of a request, or extend ActionBuilder[R] and do the same there.

This change shouldn't be too disruptive, although if a user has custom actions or explicitly depends on the return type somehow, stuff will break.

Here's the Lighthouse [ticket](https://play.lighthouseapp.com/projects/82401-play-20/tickets/799-simplify-extending-actions-with-custom-requests).