Skip to content

Commit 85c0c56

Browse files
committed
chore: cleanup
1 parent 42cc935 commit 85c0c56

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

protection/jwt-claims-dbquery/paging.graphql

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ type Customer {
99

1010
"""
1111
`CustomerConnection` is the connection type for `Customer` pagination.
12-
In StepZen, a field returning a connection type must have arguments
13-
`first` (number of nodes to fetch) and `after` (opaque cursor indicating
14-
the starting point).
1512
"""
1613
type CustomerConnection {
1714
edges: [CustomerEdge]
@@ -40,10 +37,7 @@ input CustomerFilter {
4037
extend type Query {
4138
# customers is the exposed field that limits the caller to regions
4239
# based upon the regions claim in the request's JWT.
43-
customers(
44-
first: Int! = 10
45-
filter: CustomerFilter
46-
): [Customer]
40+
customers(first: Int! = 10, filter: CustomerFilter): [Customer]
4741
@sequence(
4842
steps: [
4943
{ query: "_regions" }
@@ -76,7 +70,7 @@ extend type Query {
7670
_customers(
7771
first: Int! = 10
7872
after: String! = ""
79-
filter: CustomerFilter # regions: [String]!
73+
filter: CustomerFilter
8074
regions: [String]!
8175
): CustomerConnection
8276
@dbquery(

0 commit comments

Comments
 (0)