-
-
Notifications
You must be signed in to change notification settings - Fork 137
HasRetval permissions throws app label error in update mutation (version 0.258.0) #706
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
Labels
bug
Something isn't working
Comments
Hey @rickypag , that seems indeed correct Could you share the full traceback that you get? Also, does that issue happen if you use it in a query, as opposed to a mutation? |
Hey @bellini666,
and the mutation was
where
and UserType is defined in another app. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
In our codebase we have this mutation
where a Post can have a user (author):
and the input class is:
Before updating to:
our versions where:
and running a query like this
would work properly. Hower, after the update, we get a permission error
Given perms must have same app label ("post" != "accounts")
The error is returned only if we include
user
in the fragmentIs there something I'm missing?
Is this the correct way to add permissions to an update mutation or is it just a bug?
System Information
Additional Context
The text was updated successfully, but these errors were encountered: