Invalid escaped json response from micronaut-graphql when use with micronaut-function-aws-api-proxy

69 Views Asked by At

The graphql endpoint return the following invalid json response:

[
    "{\"data\":{\"findById\":{\"lastName\":\"Doe\",\"firstName\":\"John\",\"gender\":\"MALE\"}}}"
]

The correct one should be:

{
    "data": {
        "findById": {
            "lastName": "Doe",
            "firstName": "John",
            "gender": "MALE"
        }
    }
}

I created a github repo and raised an issue at https://github.com/micronaut-projects/micronaut-aws/issues/392 11 days ago, so far no one response, hence I post the question here.

Anyone face similar issue?

Thanks in advance for your helpful response.

0

There are 0 best solutions below