We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
first
last
1 parent f0da080 commit b390687Copy full SHA for b390687
src/resolvers/connectionResolver.js
@@ -127,7 +127,7 @@ export function prepareConnectionResolver(
127
first = parseInt(first, 10) || 0;
128
}
129
130
- const limit = last || first;
+ const limit = last || first || 20;
131
const skip = last > 0 ? first - last : 0;
132
133
findManyParams.args.limit = limit + 1; // +1 document, to check next page presence
0 commit comments