Skip to content

fix(model): resolve type mismatch in serde_yml deserialization - #163

Open
Fiveol wants to merge 1 commit into
chrivers:masterfrom
Fiveol:state-deserialization-type-mismatch
Open

fix(model): resolve type mismatch in serde_yml deserialization#163
Fiveol wants to merge 1 commit into
chrivers:masterfrom
Fiveol:state-deserialization-type-mismatch

Conversation

@Fiveol

@Fiveol Fiveol commented Jul 27, 2026

Copy link
Copy Markdown

Fixes a compilation error when building with recent versions of serde_yml.

Iterating over serde_yml::Mapping yields (serde_yml::Value, serde_yml::Value). Passing key.clone() ensures serde_yml::from_value receives a valid Value type expected by the function signature when attempting to deserialize map keys into uuids.

Fixes a compilation error when building with recent versions of serde_yml.

Iterating over serde_yml::Mapping yields (serde_yml::Value, serde_yml::Value). Passing key.clone() ensures serde_yml::from_value receives a valid Value type expected by the function signature when attempting to deserialize map keys into uuids.

Signed-off-by: Fiveol <andyinventor@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant