Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Make bodyParser more open and customizable #57

Closed
DonutEspresso opened this issue Oct 5, 2016 · 0 comments
Closed

Make bodyParser more open and customizable #57

DonutEspresso opened this issue Oct 5, 2016 · 0 comments

Comments

@DonutEspresso
Copy link
Member

DonutEspresso commented Oct 5, 2016

Is there value in exposing a way to allow users to pass in a map of types to parsers? Or do we continue to encourage users to layer on their own custom parsers in addition to the currently provided one?

Given that there are some conventions, i.e., req.rawBody and req.body that restify "owns" when it parses a body, there's an argument to be made at least for consistency.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants