Use msgpack for API (#1176)

This commit is contained in:
Micah 2026-02-12 18:37:24 -08:00 • committed by GitHub
parent 4df2d3c5f8
commit 4deda0e155
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 177 additions and 102 deletions

View file

@ -8,7 +8,7 @@ use rbx_dom_weak::{
ustr, HashMapExt as _, UstrMap, UstrSet,
};
use crate::{RojoRef, REF_POINTER_ATTRIBUTE_PREFIX};
use crate::{variant_eq::variant_eq, RojoRef, REF_POINTER_ATTRIBUTE_PREFIX};
use super::{
patch::{PatchAdd, PatchSet, PatchUpdate},
@ -127,7 +127,7 @@ fn compute_property_patches(
match instance.properties().get(&name) {
Some(instance_value) => {
if &snapshot_value != instance_value {
if !variant_eq(&snapshot_value, instance_value) {
changed_properties.insert(name, Some(snapshot_value));
}
}