Is it possible to cancel a mutation conditionally inside of a trigger.before
function? Specifically I’m trying to create a version of an upsert operation but I’d like to use the trigger.before
rather than a resolver so that it’s run no matter where the operation is being triggered (nested or not).
This is my handler. Not returning anything simply creates an empty row.