I have following pseudocode
zip(
...[1, 2, 3].map((id) =>
this.http.function1(id).pipe(
mergeMap((obj1) => this.http.function2(obj1.id)),
mergeMap((obj2) => this.http.function3(obj2.id)),
),
),
).subscribe((result) => {
console.log('This should be an array of all the results of the requests to this.http.function3');
});
I want the result of all the request together. How can I do this?