-
-
Notifications
You must be signed in to change notification settings - Fork 112
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 filters not working #317
Comments
Hey @jaydensmith , I just tested here and it worked correctly. Do you have a minimal reproduction example for this? |
@bellini666 it took a lot of digging around. You must enable the following new STRAWBERRY_DJANGO = {
'MUTATIONS_DEFAULT_HANDLE_ERRORS': True
} This causes the return type to be a |
Hey @jaydensmith , Oh, I see. In that case, does that actually work? Because AFAIK you can't create a union between a list and a type on graphql. |
@bellini666 aside from not being able to filter the mutation so it affects all items, it does raise an exception:
|
@jaydensmith indeed that will not work because of the reason I said above. I'll try to improve that error message to be more meaningful. But basically |
When specifying a mutation filter as per the docs, the filter does not appear in the generated schema:
Upvote & Fund
The text was updated successfully, but these errors were encountered: