Skip to content

continueCursor is null when isDone is true #17

Closed
@rjdellecese

Description

@rjdellecese

convex-test/index.ts

Lines 372 to 375 in ff7d4d5

if (done) {
isDone = true;
break;
}

This is not permitted according to the type of PaginationResult in convex-js.

https://github.com/get-convex/convex-js/blob/533f0705af13fb790be4b58ea10735aa94ee8d7c/src/server/pagination.ts#L40

Unless it should be! In which case this is a convex-js issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions