Commit 216bda4
committed
fix(shared): recurse into Filter issues and protect omission suffix from truncation
- collectSchemaDiagnosticIssues now recurses into Filter.issue when the
inner issue is not a bare InvalidValue, matching Effect's own
toDefaultIssues behavior. This preserves nested field paths instead of
showing generic root-level 'Invalid value' messages.
- formatSchemaError now truncates the formatted issues part separately,
reserving space for the omission suffix so '... and N more issue(s)'
is never silently dropped by the length cap.1 parent 034068f commit 216bda4
1 file changed
Lines changed: 10 additions & 5 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
| |||
157 | 162 | | |
158 | 163 | | |
159 | 164 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
165 | 170 | | |
166 | 171 | | |
167 | 172 | | |
| |||
0 commit comments