You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix customer source field inconsistency between mutations and validator #40
Customers can be created without a source value through most mutations, but the document validator marks source as required. This creates a mismatch where documents may fail validation when retrieved.
Proposed Solutions
Option 1: Make source optional in validator
source: v.optional(customerSourceValidator),
This matches the current mutation behavior but loses type safety.
Option 2: Make source required in all mutations + migration
Update all mutations to require source
Add migration to backfill source for existing records
Keep validator as-is
Recommended Approach
Option 2 is preferred for data consistency, but requires a data migration strategy.
Activity
fix(convex): make customer source field required in create mutations
fix(convex): make customer source field required in create mutations
fix(platform): close round-5 review findings on voice-mode TTS (6/N)
fix(platform): close round-5 review findings on voice-mode TTS (6/N)