Commit Graph
1 Commits
Author SHA1 Message Date
awkawbandClaude Opus 5 83270e8262 Check every model absorbs a null or missing field, mechanically
Invoice Ninja returns `null` for many nominally-string fields and omits
others, so one model that fails on either takes the whole response down with
it. Rather than trusting each field to carry the right serde attribute, this
serialises `Default`, then nulls and separately removes each field in turn,
and requires the result to still decode.

A wrong *type* is deliberately not covered: that is meant to be a hard
error, so it is not something to absorb.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-24 21:56:09 -04:00