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

Commit

Permalink
Merge pull request #10 from trojanh/trunk
Browse files Browse the repository at this point in the history
Add offset for CartItem productTags & Cart items
  • Loading branch information
Maria Paktiti authored Jun 23, 2020
2 parents e7078f1 + 017fc0d commit b7324cb
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 b7324cb

Please sign in to comment.