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

destructive update 'set' doesn't exist #1051

Closed
fancyydk opened this issue Jul 1, 2017 · 3 comments
Closed

destructive update 'set' doesn't exist #1051

fancyydk opened this issue Jul 1, 2017 · 3 comments

Comments

@fancyydk
Copy link

fancyydk commented Jul 1, 2017

Version info

Angular: 4.1.3

Firebase: 4.1.3

AngularFire: 4.0.0-rc.1

Other (e.g. Ionic/Cordova, Node, browser, operating system): Ionic3/Cordova

How to reproduce these conditions

Failing test unit, Plunkr, or JSFiddle demonstrating the problem

Steps to set up and reproduce
private afDb: AngularFireDatabase;
...
const list = this.afDb.list(url);
list.set(key, value);

Debug output

There's an error that says
Property 'set' does not exist on type 'FirebaseListObservable<any[]>'.

** Screenshots **
image

@fancyydk
Copy link
Author

fancyydk commented Jul 1, 2017 via email

@davideast
Copy link
Member

@fancyydk This should either be removed from the docs or a PR is welcome to add the feature. The original PR was never finished, so it's up for grabs if you'd like it.

@davideast
Copy link
Member

@fancyydk Not a problem in the latest version 👍

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

No branches or pull requests

2 participants