tRPC v10 Zod‑auto‑inference: Uncertain Handling of Optional Fields in Auto‑Inferred Outputs
Goal We want to rely on tRPC v10’s Zod‑auto‑inference to provide fully typed end‑to‑end calls without manual type annotations, especially when procedures return objects that contain optional properties or default values defined in the Zod schema. Constraints & Uncertainty The auto‑inferred output type is generated from the Zod schema used for the procedu