Skip to content

Commit

Permalink
fix: provide object type in @resolver decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
metmirr committed Jul 8, 2020
1 parent 6740e8c commit 59b9d49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { {{className}}Service } from './{{kebabName}}.service';
{{{.}}}
{{/fieldResolverImports}}

@Resolver()
@Resolver({{className}})
export class {{className}}Resolver {
constructor(@Inject('{{className}}Service') public readonly service: {{className}}Service) {}

Expand Down

0 comments on commit 59b9d49

Please sign in to comment.