Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
de: consider local_name only for namespaced tags in structs with $value
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 decode_name function 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. Might help with #347
- Loading branch information