Serde: keep flat tagged JSON without false unknown fields
Summary Remove deny_unknown_fields from the flatten boundary, keep the discriminator on the enum, and use an explicit wire decoder when strict validation must preserve the same flat JSON. Start with #[serde(flatten)]
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread serde-flatten-tagged-enum-unknown-fields-boundary and help me try it