mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-28 04:59:10 +00:00
This commit auto-configures the new pagination and sorting support for Spring for GraphQL, if Spring Data is available. The `GraphQlAutoConfiguration` now contributes a `CursorStrategy` bean that is used to set up the pagination and sorting data fetching infrastructure. This commit also configures by default a `ConnectionTypeDefinitionConfigurer` that automatically detects `*Connection` types and contributes the relevant schema definitions according to the Relay spec. See gh-34677