Error for trying to make not allowed stuff in mutations and queries
As discussed here: https://discord.com/channels/1019350475847499849/1224663426538672128
It would be nice to have an nice helpful error if you do unallowed stuff in the mutations and queries like network request.
2 Replies
I believe we generally do this -- I tested this out with a Custom test query
For the particular clerk issue, by uh... sticking some
console.log
in the clerk library in my node modules, it looks like clerk catches the error and wraps it in a new Error with an errors
property but no message, which I think is why Convex isn't showing the message (which we can probably change)