import { ArticleToCommentCountResolver } from 'definitions' ; const resolver = ( { articleId } , _ , { dataSources : { commentService } } ) => commentService . countByArticle ( articleId ) ; export default resolver ;