Skip to main content

talawa-api / Exports / resolvers/Query/commentsByPost

Module: resolvers/Query/commentsByPost

Table of contents

Variables

Variables

commentsByPost

Const commentsByPost: QueryResolvers["commentsByPost"]

This query will fetch all the comments for a Post from database.

Param

Param

An object that contains id of the post.

Param

Remarks

You can learn about GraphQL Resolvers here.

Defined in

src/resolvers/Query/commentsByPost.ts:19