From 2e1ed1821b773ce82741f93f3a2abef93f65f89a Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 9 Jan 2025 09:22:36 -0600 Subject: [PATCH] Update src/doc/contrib/src/implementation/schemas.md Co-authored-by: Weihang Lo --- src/doc/contrib/src/implementation/schemas.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/contrib/src/implementation/schemas.md b/src/doc/contrib/src/implementation/schemas.md index 2f05027064c..374a3d9a560 100644 --- a/src/doc/contrib/src/implementation/schemas.md +++ b/src/doc/contrib/src/implementation/schemas.md @@ -16,7 +16,7 @@ Generally, - Also, we can always switch to always outputting the fields but its harder to stop outputting them - `#[serde(skip_serializing_if = "Default::default")]` should be applied liberally - For output, prefer [jsonlines](https://jsonlines.org/) as it allows streaming output and flexibility to mix content (e.g. adding diagnostics to output that didn't prevously have it -- `deny_unknown_fields` should not be used to allow evolution of formats, including feature gating +- `#[serde(deny_unknown_fields)]` should not be used to allow evolution of formats, including feature gating ## Schema Evolution Strategies