Closed valorad closed 1 year ago
Map
is not an acceptable type of koajs
Takes a look at koajs document or code for more information https://koajs.com/#response-body-
@valorad, if you need support Map
.. you can open an issue here.
@niftylettuce, please close this issue
node.js version: v14.16.1
npm/yarn and version: 6.14.12
@koa/router
version: @10.0.0koa
version: @2.13.1Code sample:
Expected Behavior:
Front-end receives: { "a:" "b", "c": "d" }
Actual Behavior:
Front-end receives: {}
Additional steps, HTTP request details, or to reproduce the behavior or a test case:
Reproduction Repo:
https://codesandbox.io/s/investigation-koa-router-map-gzz6n?file=/src/index.js