fix: Fix nestedOneToOneField to not error when setting to null on non-existent relation#718
Conversation
…-existent relation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: e7020a4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 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 |
📝 WalkthroughWalkthroughThis PR fixes nested one-to-one field null-handling by shifting deletion logic from Prisma's Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
⛔ Files ignored due to path filters (4)
📒 Files selected for processing (5)
🧰 Additional context used📓 Path-based instructions (11)**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/code-style.mdc)
Files:
**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/code-style.mdc)
Files:
examples/todo-with-auth0/**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (examples/todo-with-auth0/CLAUDE.md)
Files:
examples/todo-with-auth0/**/*.{ts,tsx}📄 CodeRabbit inference engine (examples/todo-with-auth0/CLAUDE.md)
Files:
examples/todo-with-auth0/**/*.{unit,int}.test.ts📄 CodeRabbit inference engine (examples/todo-with-auth0/CLAUDE.md)
Files:
**/*.{unit.test.ts,int.test.ts}📄 CodeRabbit inference engine (.cursor/rules/code-style.mdc)
Files:
**/*.{unit,int}.test.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/testing.mdc)
Files:
**/*.int.test.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/testing.mdc)
Files:
.changeset/*.md📄 CodeRabbit inference engine (AGENTS.md)
Files:
examples/blog-with-auth/**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (examples/blog-with-auth/CLAUDE.md)
Files:
examples/blog-with-auth/**/*.{ts,tsx}📄 CodeRabbit inference engine (examples/blog-with-auth/CLAUDE.md)
Files:
🧠 Learnings (2)📚 Learning: 2025-11-24T19:44:46.506ZApplied to files:
📚 Learning: 2025-11-25T22:46:20.505ZApplied to files:
🧬 Code graph analysis (2)packages/fastify-generators/src/generators/prisma/data-utils/templates/src/utils/data-operations/field-definitions.ts (3)
examples/todo-with-auth0/apps/backend/src/modules/accounts/users/services/user.data-service.int.test.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🔇 Additional comments (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.