Skip to content

Commit cfa1087

Browse files
committed
temp disable ask @IvanGoncharov for explanation
1 parent 4b8508e commit cfa1087

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/connection/arrayConnection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ export function connectionFromArraySlice<T>(
101101
return {
102102
edges,
103103
pageInfo: {
104+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
104105
startCursor: firstEdge ? firstEdge.cursor : null,
106+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
105107
endCursor: lastEdge ? lastEdge.cursor : null,
106108
hasPreviousPage:
107109
typeof last === 'number' ? startOffset > lowerBound : false,

0 commit comments

Comments
 (0)