I\'m using forkJoin to combine the results of two firebase requests
Both requests complete and log within the console, but the map function for the forkJoin itself does
It turns out forkJoin just doesn't work with firebase observables,
When I updated to
public initGroup(groupname, username){
return Observable.combineLatest([
this.getGroup(groupname, username),
this.groupMembers(username, groupname)
])
.map((data)=>{
console.log(data)//This now logs
this.group = data;
return this.group
})
}
combineLatest made it work as expected