Graphql - getAllProducts variants always 15 items returned #184
Closed
agsmartwolf
started this conversation in
Ideas
Replies: 1 comment 12 replies
-
@agsmartwolf we should be adding nested querying support that will remove this limitation, allowing pagination params to be passed directly to some fields. I'll update here as soon as it is released. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I use the following query to get a product list:
I found in docs that variants are default limited to 15.
https://developers.swell.is/backend-api/variants/list-all-variants
I want to set a
limit
var forvariants
but it doesn't work:"message": "Unknown argument \"limit\" on field \"SwellProduct.variants\"."
What is a right wait to receive more product variants in this query?
PS
I use this query in the catalog (product list) on the client side; I know that there are also different queries for getting the specific product But it's queried on the client side, so to use multiple queries here is not acceptable.
I use variant information for calculating what options should be displayed on "quick add", because some of the variants can be disabled. In the horizon repo it doesn't work correctly for me right now.
Beta Was this translation helpful? Give feedback.
All reactions