Skip to content

getCountFromServer does not accept startAfter Query Constraint #8241

Open
@bridges-wood

Description

@bridges-wood

Operating System

macOS 14.4.1 (23E224)

Browser Version

Arc Version 1.42.0 (49714)

Firebase SDK Version

10.11.1

Firebase SDK Product:

Firestore

Describe your project's tooling

Nest.js app with webpack

Describe the problem

When calling getCountFromServer with no orderBy constraints and a startAfter constraint accepting a snapshot the following error was raised:

3 INVALID_ARGUMENT: Cursor has too many values

Steps and code to reproduce issue

Call getCountFromServer with a query using a startAfter constraint.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions