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
The Relay connection spec requires adding boilerplate Connection and Edge types for each domain type that requires pagination.
When Relay pagination is enabled, after schema files are parsed, we will check for fields whose type name ends on "Connection", which the spec defines this as a reserved type. If no type definition is not present for that type name, we will create it.
For example, given the following declarations in schema.graphqls:
rstoyanchev
changed the title
Support generation of Relay Connection and Edge Types
Auto-generation of Relay Connection and Edge Type Definitions
Feb 22, 2023
rstoyanchev
changed the title
Auto-generation of Relay Connection and Edge Type Definitions
Auto-generate Connection, PageInfo, and Edge schema type definitions
Mar 17, 2023
The Relay connection spec requires adding boilerplate
Connection
andEdge
types for each domain type that requires pagination.When Relay pagination is enabled, after schema files are parsed, we will check for fields whose type name ends on "Connection", which the spec defines this as a reserved type. If no type definition is not present for that type name, we will create it.
For example, given the following declarations in
schema.graphqls
:The following additional type definitions would be added transparently on startup:
The text was updated successfully, but these errors were encountered: