mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 19:05:45 +00:00
fix(javascript)!: preserve property paths and uncertain slot presence
Use one explicit object/array slot model and JSON-pointer property identity across mutation analysis, return projection, and semantic graphs. Require observed presence for discriminants and resolve writes only through retained object or array receivers. BREAKING CHANGE: projected return fields require explicit presence and semantic object operations carry full property paths.
This commit is contained in:
1 parent
63bf91405c
commit
475a0f84da
23 files changed
+831
-560
No files matched your search
@@ -62,7 +62,11 @@ it("invalidates a deep mutation while retaining unrelated literal properties", (
|
||||
expect(onlyBinding(ir, "root").value).toEqual({
|
||||
status: "object",
|
||||
properties: [
|
||||
{ name: "untouched", value: { status: "literal", value: "retained" } },
|
||||
{
|
||||
name: "untouched",
|
||||
presence: "present",
|
||||
value: { status: "literal", value: "retained" },
|
||||
},
|
||||
{
|
||||
name: "next",
|
||||
presence: "unknown-coverage",
|
||||
|
||||
Reference in new issue
Block a user