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

Added non-null properties to database.ThenableReference #8800

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rhodgkins
Copy link
Contributor

@rhodgkins rhodgkins commented Feb 18, 2025

When using push to add data a ThenableReference is returned, this reference can never have an undefined key (or parent) because it's never going to be the root reference.

Copy link

changeset-bot bot commented Feb 18, 2025

🦋 Changeset detected

Latest commit: 82c34b2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@firebase/database-compat Patch
@firebase/database-types Patch
@firebase/database Patch
firebase Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rhodgkins rhodgkins force-pushed the thenable-reference-types branch from 28a00af to 8aeac68 Compare February 18, 2025 18:03
@rhodgkins

This comment was marked as resolved.

@rhodgkins rhodgkins changed the title Added non-null properties to Database types Added non-null properties to database.ThenableReference Feb 18, 2025
@rhodgkins

This comment was marked as resolved.

@hsubox76
Copy link
Contributor

I have seen that error before but don't remember the cause. I can't reproduce it with the current main branch, even on a fresh clone. What version of Node do you have? I'm using 22.13.1. You're only missing 3 commits from main that don't seem like they would affect anything so rebasing probably won't fix it.

@rhodgkins rhodgkins requested a review from a team as a code owner February 19, 2025 19:00
@rhodgkins
Copy link
Contributor Author

Eurgh typical, setup the container again to try again from fresh and now it's fine - I think was running the same node version (20.13.1) as before too... Oh well - thanks for your help anyway!

Do I need to include the firebase package in the change set?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants