edgedb-python icon indicating copy to clipboard operation
edgedb-python copied to clipboard

Modifying a nested array is not picked up by sync.

Open dnwpark opened this issue 3 months ago • 0 comments

Given the schema:

type Foo {
    val: tuple<str, array<int64>>;
};

the following code fails the assertion

foo = default.Foo(val = ("x", [1, 2, 3]))
self.client.save(foo)

foo.val[1][0] = 9
self.client.sync(foo)

assert foo.val == ("x", [9, 2, 3])  # fails

See tests test_model_sync_single_prop_04

dnwpark avatar Sep 03 '25 16:09 dnwpark