relay-page-info
Set of rules to follow Relay specification for `PageInfo` object.
- Category:
Schema - Rule name:
@graphql-eslint/relay-page-info - Requires GraphQL Schema:
trueℹ️ - Requires GraphQL Operations:
falseℹ️
Set of rules to follow Relay specification for PageInfo object.
PageInfomust be an Object typePageInfomust contain fieldshasPreviousPageandhasNextPage, that return non-null BooleanPageInfomust contain fieldsstartCursorandendCursor, that return either String or Scalar, which can be null if there are no results