-
-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Labels
Description
Objective
Allow a global or project-level override for the inferred date-like type in schema builders (date(), datetime(), time()). Today, these default to Date, but some projects may want to infer Moment, Dayjs, etc., at the type level, without changing runtime.
Details
- Offer configuration (via module augmentation, DI token, or helper) to globally override the inferred date type.
- Ensure runtime stays unchanged (still
Dateconversion), only TypeScript inference is affected. - Document supported patterns for override.
- Ensure all builders (
date(),datetime(),time()) respect the configured type.
Parent Epic: schema-inference-epic
Reactions are currently unavailable