File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
protection/jwt-claims-dbquery Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ type Customer {
9
9
10
10
"""
11
11
`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).
15
12
"""
16
13
type CustomerConnection {
17
14
edges : [CustomerEdge ]
@@ -40,10 +37,7 @@ input CustomerFilter {
40
37
extend type Query {
41
38
# customers is the exposed field that limits the caller to regions
42
39
# 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 ]
47
41
@sequence (
48
42
steps : [
49
43
{ query : " _regions" }
@@ -76,7 +70,7 @@ extend type Query {
76
70
_customers (
77
71
first : Int ! = 10
78
72
after : String ! = " "
79
- filter : CustomerFilter # regions: [String]!
73
+ filter : CustomerFilter
80
74
regions : [String ]!
81
75
): CustomerConnection
82
76
@dbquery (
You can’t perform that action at this time.
0 commit comments