express-resource icon indicating copy to clipboard operation
express-resource copied to clipboard

Some small changes to make it easier to 'subclass' and specialize Resource

Open emmanuel opened this issue 11 years ago • 0 comments

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. This was approximately the minimum way I could see how to do that.

emmanuel avatar Aug 30 '13 21:08 emmanuel