Accept UUID strings for feature IDs in org Zod schema

Fixkamo-internal
Shipped
March 27, 2026 at 6:47 PM UTC
Author
kamo
Commit
18a9960

The OrgFeature schema required id to be a coercible integer, but the backend returns UUIDs. This caused a ZodError on every layout fetch, falling back to the hardcoded 10-feature list and hiding dynamically toggled apps like POS. Now accepts both numeric and string IDs.

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