-
-
Notifications
You must be signed in to change notification settings - Fork 615
connection step always throws #2976
Copy link
Copy link
Open
Labels
😓 cannot-reproduceSomeone has attempted but failed to reproduce this; create an example repo to demonstrate the issue.Someone has attempted but failed to reproduce this; create an example repo to demonstrate the issue.
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
Metadata
Metadata
Assignees
Labels
😓 cannot-reproduceSomeone has attempted but failed to reproduce this; create an example repo to demonstrate the issue.Someone has attempted but failed to reproduce this; create an example repo to demonstrate the issue.
Type
Projects
Status
🌳 Triage