From 3bcce5a4e72ae2c2a8320f001635ce6e6515a703 Mon Sep 17 00:00:00 2001 From: Denys Vitali Date: Fri, 28 Aug 2020 12:08:34 +0200 Subject: [PATCH] Updated Relay Pagination example (markdown) --- Relay-Pagination-example.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Relay-Pagination-example.md b/Relay-Pagination-example.md index 5fa24fa..d6b1cdd 100644 --- a/Relay-Pagination-example.md +++ b/Relay-Pagination-example.md @@ -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: ```graphql - edges { - cursor - node { - - } - } +edges { + cursor + node { + + } +} ``` 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.