Evan McDaniel
10/08/2021, 8:53 PMresolve i have inside a Nexus createType (or extendType) function is showing basically the same TypeScript error. It’s not failing the compile, but I’m hoping to figure out how to solve the issue (no one likes red error warnings everywhere).
This is the error in my simple Query definition
Type '(_parent: {}, args: { accountId?: number; }, context: Context) => PrismaPromise<Application[]>' is not assignable to type 'FieldResolver<"Query", "applicationsByAccountId">'
And here’s the definition: