edgedb-js
edgedb-js copied to clipboard
Certain nested unlessConflict queries fail at runtime with: `Expr or its aliases used outside of declared 'WITH' block scope`
Minimal reproduction repo: https://github.com/freeatnet/repro-unless-conflict-issue/blob/main/src/pages/api/testcase.ts
There seems to be something causing a scope mismatch with the insert expression vs the insert unless conflict expression. I'm able to reproduce this in our main test suite as well.