Interface SortStrategy
- All Known Implementing Classes:
AbstractSortStrategy
public interface SortStrategy
Strategy to extract
Sort details from GraphQL arguments.- Since:
- 1.2.0
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Sortextract(DataFetchingEnvironment environment) Return aSortinstance by extracting the sort information from GraphQL arguments, orSort.unsorted()otherwise.
-
Method Details
-
extract
Return aSortinstance by extracting the sort information from GraphQL arguments, orSort.unsorted()otherwise.- Parameters:
environment- the data fetching environment
-