Convex client queries .doc() returns Generic document but Convex Functions deploy with success
Im using convex ents, almost every convex functions have type error because of this, at this point i have the code is pretty huge and im not sure what is the source of this issue.
6 Replies
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!
for context, i have about 30 tables and a lot of convex functions. and im using cursor.
It just happened out of the blue? or are you migrating?
it sorta happens gradually as the codebase gets bigger
initially restarting ts server would solve the problem, but now it doesnt
We are at 32k lines with ents and lots of custom wrappers/mono repo . It took a lot to get eslint and ts happy but its been worth it.