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.

Closes gh-34630

Comment From: bclozel

Hey @rstoyanchev - here's a first draft for the pagination and sorting support in Spring Boot. Is that what you had in mind?

Comment From: bclozel

I've just updated my PR with the latest comments.

Comment From: rstoyanchev

Looks good to me as well. Thanks!