Cursor Based Pagination Not working on Locations in GraphQL Admin API

Cursor Based Pagination Not working on Locations in GraphQL Admin API

kintsugi_rajwan
Visitor
1 0 0

In Lcations model cursor based pagination not working in graphQL Admin API.

My graphQL query 

 

query GetLocations($first: Int!, $after: String) {
  locations(first: $first, after: $after, includeLegacy: true) {
    pageInfo {
      hasNextPage
      endCursor
    }
    nodes {
      id
      name
      createdAt
      address {
        address1
        address2
        city
        countryCode
        provinceCode
        zip
        phone
      }
    }
  }
}

Here is the Jam video
https://jam.dev/c/75f6446a-9bfe-4fc5-ae76-8b08d8db760b

Replies 0 (0)