We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
The decorator gqlUserRoles.decorator.ts does not check for the existence of the user on the request and fails when there is no user in context
gqlUserRoles.decorator.ts
The decorator should return null or an empty array when there is no user in context
See #2006
0.11.2
No response
The text was updated successfully, but these errors were encountered:
This solution build from 2 steps
(i did that in the #2325 pr)
(i did that in nestjsx/nest-access-control#71 pr, wait for approval)
Sorry, something went wrong.
tupe12334
Successfully merging a pull request may close this issue.
What happened?
The decorator
gqlUserRoles.decorator.ts
does not check for the existence of the user on the request and fails when there is no user in contextWhat you expected to happen
The decorator should return null or an empty array when there is no user in context
How to reproduce
See #2006
Amplication version
0.11.2
Environment
No response
Are you willing to submit PR?
No response
The text was updated successfully, but these errors were encountered: