Skip to content

AngularFireDatabase breaking api change in 4.0 #1

@kaceo

Description

@kaceo

When I try to build the current repo using the latest 4.0 of AngularFireDatabase there is an error.

That class definition no longer provide a .database object.

this.afDatabase.database.ref()

I think it has to be changed to following (not completely sure, but it compiles and runs ok):

 this.afDatabase.app.database().ref()

angular/angularfire#1155

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions