import { ArticleToRemarkResolver } from 'definitions' ; const resolver = async ( { articleId } , _ , { dataSources : { articleService } } ) => { const article = await articleService . dataloader . load ( articleId ) ; return article . remark ; } ; export default resolver ;