Updated Relay Pagination example (markdown)

Denys Vitali 2020-08-28 12:08:34 +02:00
parent 28ab85d0eb
commit 3bcce5a4e7

@ -15,12 +15,12 @@ In a nutshell, `pagination` is implemented via graphene relay's `Connection` and
In addition to a `cursor` element within `edges` that will show you the cursor id for each element, like so: In addition to a `cursor` element within `edges` that will show you the cursor id for each element, like so:
```graphql ```graphql
edges { edges {
cursor cursor
node { node {
<whatever> <whatever>
} }
} }
``` ```
The basic implementation below provides the elements for cursor-based pagination that you'll need to do your thing in your code. Hope this helps. The basic implementation below provides the elements for cursor-based pagination that you'll need to do your thing in your code. Hope this helps.