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

Fix websocketonly flag #6126

Merged
merged 13 commits into from
Apr 8, 2022
Merged

Fix websocketonly flag #6126

merged 13 commits into from
Apr 8, 2022

Conversation

maneesht
Copy link
Contributor

@maneesht maneesht commented Apr 6, 2022

Fixes an issue where the webSocketOnly field was incorrectly set to undefined when using a websocket database URL.

When initializing the RepoInfo instance, the nodeAdmin value was being passed in as the webSocketOnly value, leading webSocketOnly to be undefined even when using a websocket url.

@changeset-bot
Copy link

changeset-bot bot commented Apr 6, 2022

🦋 Changeset detected

Latest commit: f058ac3

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

This PR includes changesets to release 3 packages
Name Type
@firebase/database Patch
@firebase/database-compat 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

@maneesht maneesht requested a review from egilmorez as a code owner April 6, 2022 20:36
@maneesht maneesht marked this pull request as draft April 6, 2022 20:59
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 6, 2022

"@firebase/database": patch
---

Fix websocketonly field to be set to true when using websocket db url.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain what the websocket url is in parens (ws or wss instead of https)? Then someone can figure out how to use it by reading the release notes.

@maneesht maneesht marked this pull request as ready for review April 6, 2022 22:22
@maneesht maneesht requested a review from jsdt April 7, 2022 18:18
@schmidt-sebastian schmidt-sebastian self-assigned this Apr 7, 2022
@@ -0,0 +1,34 @@
/**
* @license
* Copyright 2017 Google LLC
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2022

@maneesht maneesht merged commit 7a4e65c into master Apr 8, 2022
@maneesht maneesht deleted the fix-websocketonly-flag branch April 8, 2022 20:05
@google-oss-bot google-oss-bot mentioned this pull request Apr 12, 2022
@firebase firebase locked and limited conversation to collaborators May 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
5 participants