Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutation hangs on empty json #1535

Open
mdnorman opened this issue Sep 5, 2024 · 1 comment
Open

Mutation hangs on empty json #1535

mdnorman opened this issue Sep 5, 2024 · 1 comment

Comments

@mdnorman
Copy link

mdnorman commented Sep 5, 2024

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
Copy link
Author

mdnorman commented Sep 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant