Commit bc23207
Make publishDate optional in output schema
The Zod schema used z.union([z.string(), z.undefined()]) which requires
the key to be present. Providers like Mise never set publishDate, so
the key is absent entirely. Changed to z.string().optional() which
allows missing keys.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1b32428 commit bc23207
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments