visionmedia/express-resource — pull request #78 by emmanuel (2013-08-30 21:30:52+00:00)
Title: Some small changes to make it easier to 'subclass' and specialize Resource

I want to have a variant of `Resource` that accepts middleware (`authenticate` & `persistence` keys) and validates incoming JSON according to a schema (`schema` key), in order to emulate some of the features of [Percolator](percolatorjs.com). This was approximately the minimum way I could see how to do that.