You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constlistQuery=e.select(e.User,()=>({limit: 10,// ⚠️ without this the query is generated correctly}))constresolverQuery=e.with([listQuery],e.select({edges: e.select(listQuery,(scope)=>({cursor: scope.id,node: e.select(scope,{id: true,handle: true})}))}))
Generated EdgeQL
WITH
__withVar_3 := (
WITH
__scope_2_defaultUser :=DETACHEDdefault::User
SELECT __scope_2_defaultUser {
id
}
LIMIT __withVar_4
)
SELECT {
multi edges := (
WITH
__withVar_4 :=10,
__scope_0_defaultUser := __withVar_3
SELECT __scope_0_defaultUser {
single cursor := __scope_0_defaultUser.id,
single node := (
WITH
__scope_1_defaultUser := __scope_0_defaultUser
SELECT __scope_1_defaultUser {
id,
handle
}
)
}
)
}
*Error:
InvalidReferenceError: object type or alias 'default::__withVar_4' does not exist
" 8 | LIMIT __withVar_4",
" | ^^^^^^^^^^^",
Code
The code causing the error.
Generated EdgeQL
*Error:
Versions:
edgedb-js
version: 1.4.1The text was updated successfully, but these errors were encountered: