2020-01 GraphQL changes: Input arrays for a GraphQL request size-limited?

Highlighted
Tourist
4 0 1

We received a notification:

Input arrays for a GraphQL request are now limited to a max size of 250.

What does this mean? We don't send requests that are simple arrays (i.e. a list of 250 items) but we received this notification. How is this number (size of array) calculated?

0 Likes
Highlighted
Shopify Partner
673 47 134

Any chance you could post the actual GQL request that's raising this error response?

0 Likes
Highlighted
Tourist
4 0 1

1. This was a warning sent to us by Shopify's Apps Team, not as a response to any particular GQL request

2. If I knew what GQL request generated this response, I too could figure out what it meant by seeing what the counts of various levels of an input array were.

As it stands I'm not going to glean through all of our GQL requests to try to figure out which one was offending. We received another notification today that didn't include this warning, but I need to know what this warning means because we do sometimes send rather large requests when creating products.

0 Likes