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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description and expected behavior
This fails
@@deny('update', ( !auth().isPlatformAdmin && future().isPlatformAdmin ))
It fails with a very unhelpful error message:
✖ Generating PrismaClient enhancer Prisma Enhancer: Unsupported expression type: InvocationExpr
Changing it to this works:
@@deny('update', ( auth().isPlatformAdmin == false && future().isPlatformAdmin ))
If not a bug, I guess it would be good to flag this in the validation on the vscode plugin. But I guess it might be a bug.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description and expected behavior
This fails
It fails with a very unhelpful error message:
Changing it to this works:
If not a bug, I guess it would be good to flag this in the validation on the vscode plugin. But I guess it might be a bug.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: