Field Extensions
EntityGraphQL provides field extension methods for modifying you field expressions with common use cases, such as paging collections.
The following highlights the provided field extensions in EntityGraphQL available as well as an introduction to creating your own.
UseFilter
to add expression based filtering to collectionsUseSort
to add asort
argument to your collections- Paging
UseConnectionPaging
for paging collectionsUseOffsetPaging
for paging collections
- Creating your own Field Extensions
When combining multiple extensions together on a single field order matters. The correct order is for the provided extensions is
Filter -> Sort -> Paging