SOFA icon indicating copy to clipboard operation
SOFA copied to clipboard

Mutation hangs on empty json

Open mdnorman opened this issue 1 year ago • 1 comments

When sending an empty JSON object {} to a mutation route, it just hangs. It never returns. As long as the JSON object has something in it, it will return saying that variables are missing if they are.

I've got a very simple schema just to test it out for now.

Version 0.18.7

mdnorman avatar Sep 05 '24 15:09 mdnorman

Ah, this is because I have app.use(bodyParser.json()); on my express js – I guess this doesn't play well with sofa

mdnorman avatar Sep 05 '24 15:09 mdnorman