Skip to content

Add database@exp API #4614

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

Merged
merged 6 commits into from
Mar 12, 2021
Merged

Conversation

schmidt-sebastian
Copy link
Contributor

@schmidt-sebastian schmidt-sebastian commented Mar 10, 2021

This adds API stubs (see go/rtdb-next)

@schmidt-sebastian schmidt-sebastian requested a review from jsdt as a code owner March 10, 2021 22:33
@changeset-bot
Copy link

changeset-bot bot commented Mar 10, 2021

⚠️ No Changeset found

Latest commit: 8ac6aa8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@schmidt-sebastian schmidt-sebastian changed the base branch from master to database-exp-master March 10, 2021 22:34
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Mar 10, 2021

Binary Size Report

Affected SDKs

  • @firebase/database-exp

    Type Base (13686cb) Head (afe5792) Diff
    browser 272 kB 3.42 kB -268 kB (-98.7%)
    esm2017 245 kB 2.74 kB -242 kB (-98.9%)
    main 273 kB 5.66 kB -268 kB (-97.9%)
    module 272 kB 3.42 kB -268 kB (-98.7%)

Test Logs

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Mar 10, 2021

Size Analysis Report

Affected Products

No changes between base commit (13686cb) and head commit (afe5792).


export function createTestApp() {
return initializeApp({ databaseURL: DATABASE_URL });
}

describe('Database Tests', () => {
describe.skip('Database Tests', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to put a todo to make sure this is removed when the code is ready or will this be obvious enough to remember?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Better safe than sorry :)

@schmidt-sebastian schmidt-sebastian merged commit 975da07 into database-exp-master Mar 12, 2021
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/expapi branch March 12, 2021 02:10
Feiyang1 pushed a commit that referenced this pull request Apr 8, 2021
* Add database@exp API (#4614)

* Compat and @exp class for DataSnapshot (#4686)

* Add events to database@exp (#4694)

* Compat and @exp class for Database (#4705)

* Implement Query Compat and query@exp (#4709)

* Compat class for Reference (#4719)

* OnDisconnect Compat (#4727)

* ServerValues compat (#4728)

* EnableLogging Compat (#4730)

* Remove argument numbers from validation (#4729)

* Update changeset

* Add database@exp API docs (#4738)

* Add Support for API report (#4741)

* Update lets-go-travel.md

* Update enableLogging
Feiyang1 added a commit that referenced this pull request Apr 8, 2021
* Add database@exp API (#4614)

* Compat and @exp class for DataSnapshot (#4686)

* Add events to database@exp (#4694)

* Compat and @exp class for Database (#4705)

* Implement Query Compat and query@exp (#4709)

* Compat class for Reference (#4719)

* OnDisconnect Compat (#4727)

* ServerValues compat (#4728)

* EnableLogging Compat (#4730)

* Remove argument numbers from validation (#4729)

* Update changeset

* Add database@exp API docs (#4738)

* Add Support for API report (#4741)

* pacakge database compat

* export child as a public API

* address comments

* create database-compat dir

* create overloads for database-compat

* build database

* add database-compat to firebase-exp

* fix lint errors

* include compat in build

* fix typing errors

* fix script name

* make database types compatible

* use modular instance

Co-authored-by: Sebastian Schmidt <[email protected]>
@firebase firebase locked and limited conversation to collaborators Apr 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants