ash-project / ash_graphql

The extension for building GraphQL APIs with Ash
https://hexdocs.pm/ash_graphql
MIT License
73 stars 49 forks source link

feat: relationship pagination #166

Closed rbino closed 5 months ago

rbino commented 5 months ago

Resources can now define how their relationships are paginated. This is a property of the Graphql type of the resource and it allows arbitrarily nested paginated relationships.

The PR also contains a fix to the existing pagination, which was not working correctly when a keyset strategy was used with an action that also supported offset pagination.

Close #131

Contributor checklist

zachdaniel commented 5 months ago

🚀 Thank you for your contribution! 🚀