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

raise custom error on permission condition not being met for mutations #7922

Open
sasog23 opened this issue Dec 14, 2021 · 0 comments
Open
Labels
k/enhancement New feature or improve an existing feature

Comments

@sasog23
Copy link

sasog23 commented Dec 14, 2021

would it be possible to add some kind of custom "error" message (raise exception),
when then condition is not met in the update/ insert/ delete mutation

if the custom message is specified and the affected rows is "0", hasura would raise the exception with this message

@sasog23 sasog23 added the k/enhancement New feature or improve an existing feature label Dec 14, 2021
@rikinsk rikinsk changed the title Permissions raise custom error on permission condition not being met for mutations Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant