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 ee91030 commit 2557748Copy full SHA for 2557748
examples/hackernews/src/schema.ts
@@ -77,7 +77,7 @@ const resolvers = {
77
description: (parent: Link) => parent.description,
78
url: (parent: Link) => parent.url,
79
comments: (parent: Link, _: unknown, context: GraphQLContext) => {
80
- return context.db.select().from(comments).where(eq(links.id, parent.id));
+ return context.db.select().from(comments).where(eq(comments.id, parent.id));
81
},
82
83
Mutation: {
0 commit comments