convex-ents DataModel type "never" under convex 1.13.0
The generated DataModel type contains only
never
for each table. This is with convex 1.13.0, convex-ents 0.7.7, and convex-helpers 0.1.45, currently the latest versions of each package. The issue is reproducible in saas-starter
after cloning and upgrading dependancies.6 Replies
sounds like we need to update the sass-starter, thanks @deen
Looks like I was missing the convex-ents 0.8.0 update, which has allowed saas-starter to build successfully, however I'm still having issues in my app
Looks like it was mainly a false alarm - I think my app was in a weird state from missing the ents 0.8.0 update, as well as hitting a few edge cases with the new function types - maybe a bug in convex-helpers. Will update when I figure it out
Was it giving dozens to 100s of errors? I wonder if this was related to half my business partners issues today at one point it was showing 700 errors, his repo got corrupted (prior to any update) and had to reload which caused a reinstall etc. I do know pnpm update never seems to trigger a update to convex ents or tests
If things don't resolve for anyone let us know, to our knowledge everything is working if you update convex-helpers, convex-ents, and convex-test. But especially if you're doing interesting things with function wrappers / middleware or copied code from convex-helpers before it was a library, we can help with this transition.
Pretty sure it was just convex-ents not updating, which I think is the standard update behaviour for packages with versions < 1.0. But it didn't seem to resolve itself immediately after upgrading it, I had to start/stop
convex dev
a few times. And I was separately having these issues at the same time so it was pretty confusing https://discord.com/channels/1019350475847499849/1019350478817079338/1258039428794945690
Yeah it sounds like the same thing - because all of my tables were just never
my entire convex dir was errored, red across the board. Thankfully was able to recover it though