Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
fix: Add offset for CartItem productTags & Cart tems
Browse files Browse the repository at this point in the history
Signed-off-by: trojanh <[email protected]>
  • Loading branch information
trojanh committed Jun 23, 2020
1 parent e7078f1 commit 017fc0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/schemas/cart.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ type Cart implements Node {
"Return at most this many results. This parameter may be used with the `before` parameter."
last: ConnectionLimitInt,

"Return only results that come after the Nth result. This parameter may be used with the `first` parameter."
offset: Int,

"Return results sorted in this order"
sortOrder: SortOrder = desc,

Expand Down Expand Up @@ -199,6 +202,9 @@ type CartItem implements Node {
"Return at most this many results. This parameter may be used with the `before` parameter."
last: ConnectionLimitInt,

"Return only results that come after the Nth result. This parameter may be used with the `first` parameter."
offset: Int,

"Return results sorted in this order"
sortOrder: SortOrder = asc,

Expand Down

0 comments on commit 017fc0d

Please sign in to comment.