aaronwlee / oak-graphql

A simple graphql middleware for oak deno framework.
Other
121 stars 23 forks source link

Breaking: request.body() returns an object #18

Closed FredrikZeiner closed 4 years ago

FredrikZeiner commented 4 years ago

In v6.0.0 version of Oak request.body() returns an object where the key value is a promise. https://github.com/oakserver/oak/commit/bd03d60b8d7c32bbe1f433afbaccd475000beea9

Causes the following error response with all queries:

{
  "errors": [
    {}
  ]
}
aaronwlee commented 4 years ago

Thanks a lot :)