graphql-nexus / nexus-plugin-prisma

Deprecated
MIT License
828 stars 118 forks source link

fix: Make addComputedInputs work when data is undefined #1125

Closed rhysawilliams2010 closed 2 years ago

rhysawilliams2010 commented 2 years ago

Fix issue where computed inputs throw an exception for mutations which don't pass data. (i.e. delete mutations)

fixes #678 fixes #988

rhysawilliams2010 commented 2 years ago

This only stops the delete mutation working. Upsert is still broken :(