NetanelBasal
5/27/2017 - 7:16 PM

posts4.query.ts

 getArticlesWithCommentsAndAuthors() {
   return Observable.combineLatest(this.getArticlesWithComments(), this.selectUsers$,
     (articles, users) => {
       return articles.map(article => {
         return { ...article, author: users[article.author]
        }
       });
     }
   )
 }