(@Parent() project: Project)
| 76 | * field on what it returns. Field resolvers run with no guard at all |
| 77 | * (APP_GUARD does not reach them without `fieldResolverEnhancers`, which is |
| 78 | * unset), so everything the return TYPE advertises is public by |
| 79 | * construction — see Byline for why narrowing this projection was not on |
| 80 | * its own enough. |
| 81 | */ |
| 82 | @ResolveField('user', () => Byline) |
| 83 | async getUser(@Parent() project: Project): Promise<Byline> { |
| 84 | // `fetchPublicProjects` already loads `user` (relations: ['user']), so the |
nothing calls this directly
no test coverage detected