File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ the starting point).
2626type CustomerConnection {
2727 edges : [CustomerEdge ]
2828 pageInfo : PageInfo !
29+
30+ """
31+ Total number of edges, will be `null` if the value cannot be determined.
32+ """
33+ totalEdges : Int
2934}
3035
3136"""
Original file line number Diff line number Diff line change @@ -11,5 +11,6 @@ query Customers($first: Int!, $after: String = "") {
1111 endCursor
1212 hasNextPage
1313 }
14+ totalEdges
1415 }
1516}
Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ describe(testDescription, function () {
4141 pageInfo : {
4242 hasNextPage : true ,
4343 endCursor : CURSOR
44- }
44+ } ,
45+ totalEdges : 10
4546 }
4647 } ,
4748 } ,
@@ -72,7 +73,8 @@ describe(testDescription, function () {
7273 pageInfo : {
7374 endCursor : "eyJjIjoiTDpRdWVyeTpjdXN0b21lcnMiLCJvIjozfQ==" ,
7475 hasNextPage : true
75- }
76+ } ,
77+ totalEdges : 10
7678 }
7779 } ,
7880 } ,
You can’t perform that action at this time.
0 commit comments