Skip to content

Commit

Permalink
fix(bigcommerce): add limit on product variants (vercel#655)
Browse files Browse the repository at this point in the history
add explicit limit on product variants field to load more than default
  • Loading branch information
abarani authored Feb 18, 2022
1 parent db17055 commit 9387178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bigcommerce/src/api/fragments/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const productInfoFragment = /* GraphQL */ `
}
}
}
variants {
variants(first: 250) {
edges {
node {
entityId
Expand Down
2 changes: 1 addition & 1 deletion packages/bigcommerce/src/api/operations/get-product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const getProductQuery = /* GraphQL */ `
__typename
... on Product {
...productInfo
variants {
variants(first: 250) {
edges {
node {
entityId
Expand Down

0 comments on commit 9387178

Please sign in to comment.