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

Top level fields with skip/include directives ignored for mutations #216

Open
rramaa-dh opened this issue May 31, 2023 · 0 comments
Open

Comments

@rramaa-dh
Copy link

This is duplicate of #65.
After the fix for that issue, now the top level fields are skipped/included for queries. But the same does not work for mutations

query getTodos @skip(if: true) {
    // this works and the query is skipped
}

mutation createTodos @skip(if: true) {
    // this does not work and the mutation is executed
}
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