Accept large CockroachDB IDs in org Zod schema

Fixkamo-internal
Shipped
March 27, 2026 at 7:20 PM UTC
Author
kamo
Commit
3f72636

The org ID from unique_rowid() exceeds JS MAX_SAFE_INTEGER, causing z.coerce.number().int() to fail with "too_big". Now accepts number, bigint, or string to handle all ID formats.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing