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

If nothing is read from the result of the mutation, the mutation is not executed #829

Closed
vkrol opened this issue Apr 18, 2022 · 1 comment
Labels
wontfix This will not be worked on

Comments

@vkrol
Copy link

vkrol commented Apr 18, 2022

Problem

If nothing is read from the result of the mutation, the mutation is not executed. It's definitely a bug. This issue is the clone of samdenty/gqless#186.

Workarounds

The workaround is to read __typename or affected_rows.

@vicary
Copy link
Member

vicary commented Apr 21, 2022

This is a known issue and likely wontfix since this is how the underlying proxy trigger queries, including mutations.

You may try creating a PR to revise the core mechanism if you think it can be improved, closing this for now.

@vicary vicary closed this as completed Apr 21, 2022
@vicary vicary added the wontfix This will not be worked on label Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants