kurierjs / kurier

TypeScript framework to create JSON:API compliant APIs
https://kurier.readthedocs.io/en/latest/
MIT License
61 stars 9 forks source link

Adding handling for strict mode in koa and vercel middlewares #329

Closed renanwilliam closed 1 year ago

renanwilliam commented 1 year ago

When using Koa and Vercel middlewares, If you set to strict mode and send an invalid content-type header, the lib is not returning the error message before starting processing. This pull request fixes it.

renanwilliam commented 1 year ago

is this repo still active?

joelalejandro commented 1 year ago

Hey @renanwilliam it is, I've been off for a month or so. I'll review your PR now.

joelalejandro commented 1 year ago

Thank you for your contribution @renanwilliam !