Skip to content

QueryConstraint's type can't be accessed #7835

@marcusx2

Description

@marcusx2

Operating System

macOS

Browser Version

Safari 16.5.2

Firebase SDK Version

10.6.0

Firebase SDK Product:

Database

Describe your project's tooling

index.html with source tag. Just javascript.

Describe the problem

QueryConstraint's type property is inaccessible, however the API seems to indicate that it shouldn't be. Coupled with the fact that on firestore and firestorelite I can access this property, I think this is a bug.

Steps and code to reproduce issue

const limitConstraint = limitToLast(100);
console.log(limitConstraint.type)//undefined

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