We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think I've found an issue with nested connects in Prismock. If I run a nested connect through 2 other types then I get an undefined error. e.g.
connect
prisma.address.update({ where: { id: address.id, }, data: { User: { update: { where: { id: userId, }, data: { groups: { connect: [{ id: group1.id }], }, }, }, }, }, }); // TypeError: Cannot read properties of null (reading 'undefined')
I've produced a minimal example: https://github.com/guydunton/prismock-nested-connects-issue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think I've found an issue with nested connects in Prismock. If I run a nested
connect
through 2 other types then I get an undefined error. e.g.I've produced a minimal example: https://github.com/guydunton/prismock-nested-connects-issue
The text was updated successfully, but these errors were encountered: