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
{{ message }}
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
Error: The change you are trying to make would violate the required relation 'SheetRows' between Row and Sheet
at BatchedGraphQLClient.<anonymous> (/****/node_modules/http-link-dataloader/src/BatchedGraphQLClient.ts:74:13)
at step (/****/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:40:23)
at Object.next (/****/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:21:53)
at fulfilled (/****/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:12:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
[GraphQL error]: Message: The change you are trying to make would violate the required relation 'SheetRows' between Row and Sheet, Location: [object Object], Path: deleteManySheets
[Network error]: Error: The change you are trying to make would violate the required relation 'SheetRows' between Row and Sheet
Thanks for bringing this up, @openefit! This is a known limitation. You can track our progress with building cascading deletes for deleteMany here: #1936.
Describe the bug
It's ok to delete one sheet :
errors when use deleleManySheets
error message:
To Reproduce
here is the datamodel.graphql
Versions (please complete the following information):
Ubuntu 18.04
prisma
CLI: [prisma/1.13.6 (linux-x64) node-v10.7.0
]dependencies
The text was updated successfully, but these errors were encountered: