You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description and expected behavior
Nested update operation throw error when is not the data argument is not provided
Screenshots
//THIS WORKSawaitprisma.user.update({where: {id: 1},data: {video: {update: {data: {viewCount: {increment: 1}}}}}})//This does not work (but is allowed by types)awaitprisma.user.update({where: {id: 1},data: {video: {update: {viewCount: {increment: 1}}}}})
Description and expected behavior
Nested update operation throw error when is not the data argument is not provided
Screenshots
error
Environment (please complete the following information):
Reproduce Repo
https://github.com/cesarve77/zenstack_bug
The text was updated successfully, but these errors were encountered: