How to limit the number of items of nested array in Apollo graphQL / Apollo Link Rest?

253 Views Asked by At

I Have a query like this

`
query {
  doctors @rest(type: "doctors", path: "/doctors/") {
      Result {
          Id
          FirstName
          LastName
          Items (limit: 10) {
             id
             title
          }
      }
}
`

I want to get only 10 items from the Items, but I get the full list!

Is This doable or not?

Thank you.

0

There are 0 best solutions below