Closed ClaudiuCeia closed 1 year ago
This might be fixed with #460, I believe it has landed in the 1.x beta releases.
I've confirmed this is fixed. Unfortunately we haven't released the beta on deno.land/x
but you can install @edgedb/generate@beta
from NPM and run npx @edgedb/generate edgeql-js --target deno
.
Code The code causing the error.
Schema
Your application schema.
Generated EdgeQL
Not relevant in this case, it's just a type-level error.
Error or desired behavior
The code snippet above has a TS error:
Type instantiation is excessively deep and possibly infinite.deno-ts(2589)
The culprit as far as I can tell ise.assert_single
, I run into this issue whenever I have non-trivial filter statements. I might also be using it wrongly, or not building the most efficient filters - but regardless, the error isn't quite that helpful.Please note that this is happening for Deno (specifically deno 1.26.0).
Versions (please complete the following information):
edgedb-js
version 0.22.8