Skip to content

Commit

Permalink
FAI-6249: make keyset pagination the default method (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
ted-faros committed May 22, 2023
1 parent df3c42b commit 386e87a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/graphql/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,10 @@ export function paginatedQueryV2(query: string): PaginatedQuery {
switch (process.env.GRAPHQL_V2_PAGINATOR) {
case 'relay':
return paginatedWithRelayV2(query);
case 'keyset':
return paginateWithKeysetV2(query);
default:
case 'offset-limit':
return paginateWithOffsetLimitV2(query);
default:
return paginateWithKeysetV2(query);
}
}

Expand Down

0 comments on commit 386e87a

Please sign in to comment.