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