ty adds first-class Pydantic support, including strict and lax field handling
charliermarsh · x · 2026-07-22
- ty now ships with first-class Pydantic support.
- It distinguishes between lax and strict modes for Pydantic fields and follows Pydantic coercion rules.
- The examples shown in the post illustrate how nested values may still be coerced, while strictly validated fields reject invalid types.
More from coding & agent
- Building a Secure AI Agent Gateway: Self-Hosting OAuth for Multiple SaaS Apps — Defiant_Cod_2654 · 2026-07-22
- Rowboat launches as an open-source, local-first AI coworker with memory — ycombinator · 2026-07-22
- Scoble says AI “loops” really means long-running multi-agent workspaces — Scobleizer · 2026-07-22
- Kimi Code opens a waitlist as Moonshot rolls out its coding product — Fabulous_Bonus_8981 · 2026-07-22
- Open-source runtime lets each repo define its own AI code reviewer — ibabufrik · 2026-07-22
- Indie Dev Asks: What's Actually Broken in Your AI Agent's Memory Today? — AcceptableTime7937 · 2026-07-22