I'm going to retrieve a list from Firebase using the following code in an Ionic component:
this.afDB.list ( '/my-data/key1/data' ).valueChanges().subscribe ( res => console.log (res), error => console.log (error), () => console.log ("complete") );
if the record exists, it has no problem to print the result. However, if the record does not exist, none of the three callbacks will return. If I replace the list() with object() method, it will simply return null, which is what I need. Does anyone know if this is the intent by design of AngularFire 5 or it's a bug?