kdby-io/graphql-typescript

Cannot add a nullable mutation

kdby-io opened this issue · 0 comments

@Nullable
@Mutation(User)
addUser(_: any, args: AddUserArguments) { ... }
TypeError: Cannot read property 'name' of undefined
    at Object.getFieldLiteral (/../node_modules/graphql-typescript/src/services.ts:132:9)