Update rbx-dom (#1023)

This commit is contained in:
Micah 2025-04-02 11:32:27 -07:00 • committed by GitHub
parent 0d6ff8ef8a
commit 833320de64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 8815 additions and 2249 deletions

View file

@ -2,6 +2,7 @@ use std::{collections::BTreeMap, path::Path};
use anyhow::Context;
use memofs::{IoResultExt, Vfs};
use rbx_dom_weak::ustr;
use serde::Serialize;
use crate::snapshot::{InstanceContext, InstanceMetadata, InstanceSnapshot};
@ -30,7 +31,7 @@ pub fn snapshot_csv(
let mut snapshot = InstanceSnapshot::new()
.name(name)
.class_name("LocalizationTable")
.properties([("Contents".to_owned(), table_contents.into())])
.property(ustr("Contents"), table_contents)
.metadata(
InstanceMetadata::new()
.instigating_source(path)