Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude namespace prefix from tag name when comparing against field n…
…ames This updates the "not_in" check that decides whether to pass a new start tag within a struct to a $value field, to only consider the local part of a QName. It now uses the same logic as the QNameDeserializer that is used for keys/fields already to ensure they stay in sync. Using the namespaced name in serde (i.e. `#[serde(rename = "ns1:tag")]`) fails with ``Custom("missing field `ns1:tag`")`` today, so this will not break existing code. Co-authored-by: Xiphoseer <me@xiphoseer.de>
- Loading branch information