Commit 0d03239
fix(resolver): it now yields the correct dataset for last+before args
Target the issue #7
In backward situations with cursors, the resolver uses count to compute
the "skip" value to forward to the findMany resolver. If the count value
is the global one, and not the one with the rawQuery with the '$lt'
statement, the value is incorrect. Hence the invalid dataset.1 parent dbc8f8d commit 0d03239
File tree
2 files changed
+28
-3
lines changed- src
- __tests__
2 files changed
+28
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
601 | 614 | | |
602 | 615 | | |
603 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
190 | 196 | | |
191 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
192 | 206 | | |
193 | 207 | | |
194 | 208 | | |
195 | 209 | | |
196 | 210 | | |
197 | 211 | | |
198 | 212 | | |
199 | | - | |
200 | 213 | | |
201 | | - | |
202 | 214 | | |
203 | 215 | | |
204 | 216 | | |
| |||
0 commit comments