-
-
Notifications
You must be signed in to change notification settings - Fork 612
Open
Labels
Description
Summary
connection() step always throws an error: Cannot read properties of undefined (reading 'items') coming from this area in connection.ts.
Steps to reproduce
I've got a resolver set up which builds through graphile-build and graphile-export to this code:
const Query_seasons_extensions = {
__proto__: null,
grafast: {
plan(_) {
return connection(
registry.pgResources.document.find({
type: "season",
}),
)
},
},
}which seems like the most straightforward use of connection: passing it a PgSelectStep.
Expected results
See no errors
Actual results
Got the aforementioned error
Additional context
Relevant versions:
"@dataplan/pg": "1.0.0-rc.7",
"grafast": "1.0.0-rc.8",
"graphile-build": "5.0.0-rc.5",
"graphile-config": "1.0.0-rc.5",
"graphile-export": "1.0.0-rc.5",
"graphile-utils": "5.0.0-rc.7",
"graphql": "16.13.0",
"pg": "^8.11.5",
"pg-sql2": "5.0.0-rc.4",
Reactions are currently unavailable