Skip to content

docs(database): document the drizzle rc undefined-filter trap and upgrade checklist - #1790

Merged
viethung0o0 merged 1 commit into
mainfrom
docs/drizzle-undefined-filter
Nov 26, 2026
Merged

viethung0o0 merged 1 commit into
mainfrom
docs/drizzle-undefined-filter

Conversation

@viethung0o0

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #1789, so the next drizzle change does not reintroduce the production crash on Flows.

  • drizzle-database skill
    • New trap section: drizzle-orm rc throws on an undefined filter value in a relational where. The section explains that the fix is now central in client.ts and relationsFilterToSQL, so it should not be patched per repository; that optional filters may stay undefined but null is not "skip"; and that queries should be tested without their optional filters.
    • New "Upgrading drizzle-orm / drizzle-kit" checklist: release notes, the guard tests, and a no-filter smoke test of the main list pages.
    • The skill description now triggers on drizzle upgrades.
  • CLAUDE.md: the drizzle-database routing row now also covers relational queries and drizzle upgrades.
  • turborepo-workflow skill: a pre-commit typecheck failure caused by a stale, gitignored apps/builder/messages/en.d.json.ts is fixed by deleting the file, never by --no-verify.

Test plan

  • pnpm check:agent-instructions (21/21 skills valid)

@github-actions github-actions Bot added the docs Documentation changes label Nov 26, 2026
@viethung0o0
viethung0o0 merged commit e1bf29e into main Nov 26, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants