-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
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
Fix 1-1 validation on nested update #5616
Conversation
🦋 Changeset detectedLatest commit: b7552f8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
d00561c
to
9722366
Compare
Performance ReportNo Performance Changes Show Full Table
Old Schema Generation: 27.231s |
@@ -343,6 +343,30 @@ export default function createUpdateAndParams({ | |||
} | |||
|
|||
if (update.connect) { | |||
if (relationField.interface) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be the case also for unions?
9722366
to
b7552f8
Compare
Description
Nested update operations were not performing the required cardinality validation. This PR copy the validation made in top level (translate-update) into nested update (create-update-and-params)