Skip to content

Commit d16ad53

Browse files
fix: Ensure namespace map deserialization is robust
Co-authored-by: aider (gemini/gemini-2.5-pro) <[email protected]>
1 parent dce009c commit d16ad53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/ontology.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ pub struct Ontology {
219219
pub last_updated: Option<DateTime<Utc>>,
220220
#[serde_as(as = "HashMap<LocalType, _>")]
221221
version_properties: HashMap<NamedNode, String>,
222+
#[serde(default)]
222223
namespace_map: HashMap<String, String>,
223224
}
224225

0 commit comments

Comments
 (0)