colossal-harlequinC
Refine10mo ago
19 replies
colossal-harlequin

useList pageInfo

I amtrying to access pageInfo in my react js code for following query
 query Customers(
    $paging: OffsetPaging!
    $filter: CustomerFilter!
    $sorting: [CustomerSort!]!
  ) {
    customers(paging: $paging, filter: $filter, sorting: $sorting) {
      nodes {
        id
        isActive
        openProjects
        phoneNumber
        name
        contact {
          email
        }
        company {
          name
        }
      }
      pageInfo {
        hasNextPage
      }
    }
  }

data provided by useList is missing pageInfo, although i can see it in network call
Was this page helpful?