mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
- Added `onInstanceInserted` callback to `InstanceMap` to notify when new instances are tracked, allowing `ChangeBatcher` to resolve pending unresolved Ref properties. - Updated `createPatchSet` and `encodePatchUpdate` to support handling unresolved Ref properties, deferring their resolution until the target instance is available. - Implemented logic in `ChangeBatcher` to manage pending unresolved Ref properties and re-queue them when the target instance is inserted. - Introduced new tests to verify behavior with ambiguous paths and ensure stability when handling duplicate-named siblings. These changes improve the handling of Ref properties in the system, enhancing synchronization reliability and robustness.
10 lines
172 B
Text
10 lines
172 B
Text
{
|
|
"name": "ref_ambiguous_path",
|
|
"tree": {
|
|
"$className": "DataModel",
|
|
"Workspace": {
|
|
"$className": "Workspace",
|
|
"$path": "src/Workspace"
|
|
}
|
|
}
|
|
}
|