How to throw errors from mutateAndGetPayload function?
amit1911 opened this issue · 0 comments
amit1911 commented
I have a scenario where I need to validate if the user is allowed to perform a certain mutation or not. If the user isn't allowed to perform the mutation, then I would like to pass some errors to the client side so that I can show more descriptive messages. How can I do this?