prisma-nestjs-graphql icon indicating copy to clipboard operation
prisma-nestjs-graphql copied to clipboard

AtomicOperation true not working for UpdateInput

Open BenoitStephant opened this issue 2 years ago • 1 comments

My generator have noAtomicOperations set to true, it works for CreateInput but for UpdateInput I still get atomicOperations like this:

export type SomeTypeUpdateInput = {
    name ?: StringFieldUpdateOperationsInput | string
}

I want to get this result:

export type SomeTypeUpdateInput = {
    name ?: string
}

Is-it Bug or a good result ? If it's good result can I get the input for update without atomic operations ?

BenoitStephant avatar Feb 27 '23 16:02 BenoitStephant

Could you provide minimal schema which helps reproduce the issue?

unlight avatar Feb 27 '23 21:02 unlight