ethanresnick / json-api

Turn your node app into a JSON API server (http://jsonapi.org/)
GNU Lesser General Public License v3.0
268 stars 41 forks source link

No way to respond to multiple external errors #72

Closed carlbennettnz closed 9 years ago

carlbennettnz commented 9 years ago

The Express HTTP strategy's sendError() and the API's responseFromExternalError() can only handle a single error. We should be able to pass an array of APIErrors to respond to multiple issues.

ethanresnick commented 9 years ago

Agreed! PR welcome.