Hi,
First, thank you for this amazing framework !
I’ve a noob question : regarding the example here https://serverless.com/examples/aws-node-graphql-api-with-dynamodb
module.exports.query = (event, context, callback) => graphql(schema, event.queryStringParameters.query)
.then(
result => callback(null, {
statusCode: 200, body: JSON.stringify(result)
}),
err => callback(err)
)
If the result is an object, what options do we have to get a clean/full Json from Lambda in the body and not something like :
{"data":{"score":"{\"composerId\":1143,\"compose...
I’d like to avoid a JSON.parse
on the client side
Thank you for ur help