Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryConstraint's type can't be accessed #7835

Closed
marcusx2 opened this issue Dec 4, 2023 · 1 comment · Fixed by #7973
Closed

QueryConstraint's type can't be accessed #7835

marcusx2 opened this issue Dec 4, 2023 · 1 comment · Fixed by #7973

Comments

@marcusx2
Copy link

marcusx2 commented Dec 4, 2023

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
@marcusx2 marcusx2 added new A new issue that hasn't be categoirzed as question, bug or feature request question labels Dec 4, 2023
@jbalidiong jbalidiong added needs-attention and removed new A new issue that hasn't be categoirzed as question, bug or feature request labels Dec 4, 2023
@maneesht
Copy link
Contributor

Thanks for catching this, the fix should be out in the next release

@firebase firebase locked and limited conversation to collaborators Feb 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants