CreateCommentPayloadResolvers
talawa-api • Docs
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
>