Very Fun Instance of Type instantiation is excessively deep and possibly infinite.ts(2589)
I have read this:
https://docs.convex.dev/functions/actions#dealing-with-circular-type-inference
so I ensured every single query, action, and mutation, internal ones too, have both a returns, and a typed return for the handler. EX
didnt fix it.
So I kept looking around at other threads. Saw one mentioning it could have to do with Doc<>, so I removed all instances of Doc. Okay, Not it.
Also found something referencing v.any(), so now I dont use v.any(), no dice.
Okay so it said it had to do with ctx.run* not having a type. So I commented out every instance of ctx.run*, runMutation, runQuery, whatever. Still Not it.
No idea whats left to try.
