Skip to content

Update generated types for Pagination / cursor connection support #1296

@bclozel

Description

@bclozel

While reviewing #1295, I noticed that we generate the *Connection types like so:

type BookConnection {
	edges: [BookEdge]!
	pageInfo: PageInfo!
}

Per specification, the Edges field is a nullable list.
We should update the schema generation part as well as the *Connection data fetcher decorator to reflect this.

Metadata

Metadata

Assignees

Labels

in: dataIssues related to working with datatype: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions