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
fix(zod): address PR review + green CI for zod4 baseline
Resolve review feedback and unblock CI on #3642:
- resolveIsZodV4: treat "packageJson present but no detectable zod
version" the same as "no packageJson" and default to Zod 4, matching
the documented 'auto' intent (Copilot). Add regression coverage.
- normalizeOperationsAndTags: skip emitting a normalized zod object for
operation/tag overrides that carry only unsupported (output-only)
fields, so they are true no-ops and cannot inject default
strict/generate/coerce values that override global override.zod.*
during downstream merges (CodeRabbit). Add regression coverage.
- types: convert empty `extends` interfaces (OperationZodOptions,
NormalizedOperationZodOptions) to type aliases to satisfy the
no-empty-object-type lint rule.
- Run formatter on types.ts / options.test.ts (fixes the failing
`vp fmt --check` CI step).
- Regenerate 3 stale petstore-tags-split-zod-schemas snapshots to the
Zod 4 baseline (zod.email() instead of zod.string().email()).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments