panzacoder
panzacoder•5mo ago

Unable to pass Custom Queries to CRUD function.

I logged a ticket with all of the detail in the convex-helpers project, but thought I would share here as well: Ticket: https://github.com/get-convex/convex-helpers/issues/250#issue-2515821771 Issue: I worked on a project over the summer for a client using Convex, and have just started to pick things back up after a few months of low-to-no activity. After updating deps, I seem to have some odd TS error blocking builds & updates. All of my CustomQueries are incompatible with the CRUD helper. Am I missing something obvious? Code snippets are below, and in the GH ticket (pasted below as a .txt)
GitHub
Unable to pass customQuery to CRUD · Issue #250 · get-convex/convex...
I worked on a project over the summer for a client using Convex, and have just started to pick things back up after a few months of low-to-no activity. After updating deps, I seem to have some odd ...
2 Replies
panzacoder
panzacoderOP•5mo ago
@Convex AI Helper Bot Any ideas? I tried asking kapa.ai but the error message is too long for it to help 😦 For anyone finding this, should be addressed in convex-helpers 0.1.57, which can be tested now at convex-helpers@0.1.57-alpha.1 today. Thanks @ian for the super quick fix!
ian
ian•5mo ago
and anyone willing to try out npm/0.1.57-alpha.2 - it has a version of crud that doesn't require using Table - it just takes schema, "tableName"

Did you find this page helpful?