hasura / hasura/graphql-engine

raise custom error on permission condition not being met for mutations

Open
#7,922 0 comments 1 reaction 0 assignees View on GitHub
k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.