Skip to main content

CreateCommentPayloadResolvers

talawa-apiDocs


talawa-api / types/generatedGraphQLTypes / CreateCommentPayloadResolvers

Type Alias: CreateCommentPayloadResolvers<ContextType, ParentType>

> CreateCommentPayloadResolvers<ContextType, ParentType>: object

Type Parameters

ContextType = any

ParentType extends ResolversParentTypes["CreateCommentPayload"] = ResolversParentTypes["CreateCommentPayload"]

Type declaration

__isTypeOf?

> optional __isTypeOf: IsTypeOfResolverFn<ParentType, ContextType>

comment?

> optional comment: Resolver<Maybe<ResolversTypes["Comment"]>, ParentType, ContextType>

userErrors?

> optional userErrors: Resolver<ResolversTypes["CreateCommentError"][], ParentType, ContextType>

Defined in

src/types/generatedGraphQLTypes.ts:4153