matthewwithanm/monorouter — pull request #40 by StuartHarris (2014-12-09 12:14:06+00:00)
Title: Merge opts into Request

We needed a way to augment the `Request` instance so that we can get access to the original Express request when rendering server-side.

This PR merges all the "own properties" from `opts` onto the Request instance. This allows, for example, middleware (such as `connect-monorouter`) to attach a reference to the original request for use in the route.