You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling set on a document reference that does not exist causes a error. The set options parameter is missing from the set method in angularfire2. With options is possible to set values on a document that doesn't yet exist.
Expected behavior
Allow the same parameters as DocumentReference's set method in firebase JS API.
Actual behavior
Browser when entity does not exist: ERROR Error: Uncaught (in promise): FirebaseError: [code=not-found]: no entity to update
Typescript Lint: [ts] Expected 1 arguments, but got 2.
The text was updated successfully, but these errors were encountered:
moneal
added a commit
to moneal/angularfire2
that referenced
this issue
Nov 7, 2017
Version info
Angular: *
Firebase: *
AngularFire: 5.0.0-rc3
How to reproduce these conditions
Calling
set
on a document reference that does not exist causes a error. The set options parameter is missing from the set method in angularfire2. With options is possible to set values on a document that doesn't yet exist.Expected behavior
Allow the same parameters as DocumentReference's set method in firebase JS API.
Actual behavior
Browser when entity does not exist:
ERROR Error: Uncaught (in promise): FirebaseError: [code=not-found]: no entity to update
Typescript Lint:
[ts] Expected 1 arguments, but got 2.
The text was updated successfully, but these errors were encountered: