[IMPLEMENTED] Is there any way to retrieve all referenced items using GraphQL?

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [ x ] Documentation issue or request

Current behavior

I have a schema that contains a reference field, I have more than 200 referenced items in this field.
While attempting to retrieve data by using a GraphQL query, I can only get a maximum of 200 referenced items. I have read the documentation here, I know that we can only get a maximum of 200 items for each request from a schema, but how can I get all referenced items of a reference field from that schema?

Expected behavior

It should be able to get all referenced items from a reference field.

Minimal reproduction of the problem

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ x ] Cloud version

Version: [VERSION]

Browser:

  • [ x ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

I think this is more like a feature request, because for referenced items there should be no limit.

1 Like

Yes, you’re right. It would be great if we can retrieve all referenced items.

I have implemented it, but it is not deployed yet.

1 Like

Sounds great! Thank you so much

This topic was automatically closed after 2 days. New replies are no longer allowed.