ibrahimyaacob
ibrahimyaacob3mo ago

where is Ents version of QueryCtx ?

I need to splitting up query code while using the Convex Ents
No description
2 Replies
Convex Bot
Convex Bot3mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
sshader
sshader3mo ago
You can do something like type QueryCtx = CustomCtx<typeof queryWithEnt> using CustomCtx from convex-helpers (https://github.com/get-convex/convex-helpers/blob/fcc5a575f5062ebd22a62728c2eac481e658894b/packages/convex-helpers/server/customFunctions.ts#L471)
GitHub
convex-helpers/packages/convex-helpers/server/customFunctions.ts at...
A collection of useful code to complement the official packages. - get-convex/convex-helpers

Did you find this page helpful?