Epic: Ts.ED Schema Functional API — Typed Inference & Roadmap (Phase II/III)
Objective
This Epic tracks the ongoing development and planned improvements for the functional API's type inference in @tsed/schema, following the initial rollout (Phase I) as described in the proposal.
Summary of the Plan
- Leverage
JsonSchema<T> generics for strong type inference in the functional API, similar to Zod.
- Provide utilities such as
s.infer for type extraction.
- Typed builder signatures and chainable methods.
- Compatibility and migration: additive, with no breaking changes.
- Maintain runtime compatibility.
Roadmap (Phase II/III): Axes d'amélioration
This Epic covers the following areas for future improvement (see sub-stories):
- Date type override (configurable)
- Literal narrowing enhancements
- Branded primitives
- Deep helpers on object schemas
additionalProperties typing ergonomics
patternProperties key typing
- Union/intersection expressiveness
any() ergonomics
- Schema generics and parameterization
- Type emission performance
- DX and error messages
- Interop and adapters
- Testing strategy
- Documentation and recipes
- Tooling guardrails
Each of these axes will be detailed in a dedicated story linked to this Epic.
Reference: Proposal & Plan
This Epic is for tracking only. Implementation should be split across the detailed stories.
Epic: Ts.ED Schema Functional API — Typed Inference & Roadmap (Phase II/III)
Objective
This Epic tracks the ongoing development and planned improvements for the functional API's type inference in
@tsed/schema, following the initial rollout (Phase I) as described in the proposal.Summary of the Plan
JsonSchema<T>generics for strong type inference in the functional API, similar to Zod.s.inferfor type extraction.Roadmap (Phase II/III): Axes d'amélioration
This Epic covers the following areas for future improvement (see sub-stories):
additionalPropertiestyping ergonomicspatternPropertieskey typingany()ergonomicsEach of these axes will be detailed in a dedicated story linked to this Epic.
Reference: Proposal & Plan