Skip to content

Commit

Permalink
feat: make pagination input optional (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivedo authored Aug 2, 2024
1 parent 0c519ec commit 830e185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paginatedConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export type PaginatedConnectionProps<
TNode extends object,
TCursor extends TCursorBase = TCursorValueBase,
> = {
pagination: PaginationInput
pagination?: PaginationInput
paginationSafeLimit: number
dataLoader: (props: DataloaderProps<TNode, TCursor>) => Promise<{
edges: { node: TNode; cursor: string }[]
Expand Down

0 comments on commit 830e185

Please sign in to comment.