Skip to content

Commit

Permalink
fix(graphql): generate mutation & resolver fields methods for schema …
Browse files Browse the repository at this point in the history
…builder
  • Loading branch information
marcus-sa committed Sep 20, 2023
1 parent c804a05 commit 70f61f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/graphql/src/lib/schema-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class SchemaBuilder {
// TODO: validate that fields don't override each other
...fields,
...this.typesBuilder.generateMutationResolverFields(
this.options.resolvers.get(instance),
instance,
),
}),
{},
Expand All @@ -62,7 +62,7 @@ export class SchemaBuilder {
// TODO: validate that fields don't override each other
...fields,
...this.typesBuilder.generateQueryResolverFields(
this.options.resolvers.get(instance),
instance,
),
}),
{},
Expand Down

0 comments on commit 70f61f6

Please sign in to comment.