Repository navigation
docs: close out the createAll conflict-skip project - #30371
Conversation
The feature shipped in #30365. The one durable design rule, that conflictOn is optional today so a future target such as SQL Server can require it through sql.insertOnConflictWithoutTarget, moves into the capability-gating pattern as a reference implementation. The transient spec, plan, and design notes are deleted per the projects convention. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: prisma/orm/.coderabbit.yml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (5)
📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe reference implementations table now documents conflict skipping for ChangesCapability gating documentation
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to This documents existing createAll conflict-skipping behavior and capability requirements without changing runtime behavior; it is ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Decision
Delete
projects/createall-conflict-skip/now that the feature it shaped has merged (#30365), and keep the one design rule from it that outlives the project.What moves
The design notes recorded why
conflictOnis optional oncreateAll(rows, { onConflict: 'skip' })even though the option works without it: Postgres and SQLite can skip on any unique constraint, but SQL Server cannot skip without a named key. Two capability keys carry that difference, and a future SQL Server adapter reports only the first, soconflictOnbecomes required there with no API change. That is a worked example of capability gating, so it is now a row in the reference-implementations table ofdocs/architecture docs/patterns/capability-gating.md.What is deleted
The spec, plan, two slice specs, and design notes. Everything else they described is already on
main: the capability keys indocs/reference/capabilities.md, the option in the sql-orm-client README and JSDoc, the scorecard row, the port checklist ticks, and the upgrade fragment. No file outside the folder referenced it.No ADR. The change adds a feature under an existing pattern rather than introducing a new subsystem or convention.
🤖 Generated with Claude Code
Summary by CodeRabbit
createAll.conflictOnargument.