PaulP
Convex Community11mo ago
37 replies
Paul

watching a custom endpoint, rather than an api endpoint

I have a pretty complex endpoint in prisma. It's almost 500 lines of code and multiple queries.

Is the standard practice to just dump this code into a file with all the other queries/mutations within the convex folder?

Or is it possible to have some organisation and watch an endpoint instead?

Thanks
Was this page helpful?