Skip to content
This repository was archived by the owner on Mar 15, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 599 Bytes

File metadata and controls

34 lines (25 loc) · 599 Bytes

Connections are Relay compliant

All Connections must be compliant with the Relay GraphQL pagination spec.

Rule Details

Details here.

Autofixer not available.

Examples of incorrect code for this rule:

type SampleConnection {
  notEdges: [SampleEdge]
  notPageInfo: [SamplePageInfo]
}
type SampleConnection {
  edges: SampleEdge
  pageInfo: SamplePageInfo
}

Examples of correct code for this rule:

type SampleConnection {
  edges: [SampleEdge]
  pageInfo: PageInfo!
}