Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Make rtdb ref.push() only create local node when no value is passed #739

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

Open
jonathanedey wants to merge 8 commits into master
base: master
Choose a base branch
Loading
from je-rtdb-push

Conversation

Copy link
Contributor

@jonathanedey jonathanedey commented Nov 20, 2023
edited
Loading

The optional value argument in push() can be used to provide an initial value for the child node. If no value is provided, child node will have an empty string as the default value.

This behaviour was inconsistent with the client SDKs. If no value is provided, push() should now return a reference that can be used elsewhere and should not create an empty node on the server.

safu9 reacted with thumbs up emoji
@jonathanedey jonathanedey marked this pull request as ready for review November 20, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@lahirumaramba lahirumaramba Awaiting requested review from lahirumaramba

At least 1 approving review is required to merge this pull request.

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /