Skip to content

Commit f99b876

Browse files
committed
Adddress comments as suggested
Signed-off-by: asararatnakar <[email protected]>
1 parent e427ecc commit f99b876

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rest/pagination/api.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ type Query {
125125
126126
Typically the `endpoint` argument of `@rest` would have query
127127
parameters that set the pagination arguments expected by the
128-
REST API from the field arguments `first` ( ) and `after` (offset defaults to 0 if empty),
128+
REST API from the field arguments `first` and `after` (offset defaults to 0 if empty),
129129
for example: `?limt=$first&offset=$after`.
130130
"""
131131
customersOffset(first: Int!, after: String = ""): CustomerConnection
@@ -157,7 +157,7 @@ type Query {
157157
// Since this is OFFSET pagination
158158
// "after" is decoded by StepZen from the opaque string value
159159
// and passed into @rest as a integer offset value,
160-
// with the first page being 1.
160+
// with the offset of the first record being zero.
161161
const limit = get('first');
162162
const offset = get('after');
163163

0 commit comments

Comments
 (0)