Hi everyone, just getting going and finding that e...
# orm-help
e
Hi everyone, just getting going and finding that every
resolve
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
Copy code
Type '(_parent: {}, args: { accountId?: number; }, context: Context) => PrismaPromise<Application[]>' is not assignable to type 'FieldResolver<"Query", "applicationsByAccountId">'
And here’s the definition: