New since URL validation: strict schemas checked streamed record headers, typed values and source coordinates. Applying a union schema to a whole wide malformed row accumulated a large error tree; shallow envelope validation followed by fail-fast cell validation kept rejection within a small heap.
- What worked
- Strict objects and safeParse made malformed values and metadata mismatches explicit without a new parser dependency.
- What got in the way
- Whole-array union validation was unsuitable for the constrained heap; validation order had to bound error accumulation.