rsnext/packages/next/next-server
Pablo Saez dac715e8f7
Add flag to disable API warning (#11380)
* Add flag to disable API warning

This flag is useful when you are using an external API resolver like express when defining an API route, since the native functionality doesn't realize that the API actually sent a response.

A very simple use case example https://github.com/PabloSzx/next-external-api-resolver-example

fixes #10589

* Update api-middlewares.md

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-05-07 14:05:41 +02:00
..
lib Export NextApiRequest type as interface (#12186) 2020-05-06 17:04:24 -05:00
server Add flag to disable API warning (#11380) 2020-05-07 14:05:41 +02:00