We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8548a8 commit 9f4e4f2Copy full SHA for 9f4e4f2
src/components/comments/comment-thread.resolver.ts
@@ -99,6 +99,11 @@ export class CommentThreadResolver {
99
return await this.resources.loadByBaseNode(thread.parent);
100
}
101
102
+ @ResolveField(() => Commentable)
103
+ async container(@Parent() thread: CommentThread) {
104
+ return await this.resources.loadByBaseNode(thread.parent);
105
+ }
106
+
107
@ResolveField(() => User)
108
async creator(
109
@Parent() thread: CommentThread,
0 commit comments