Skip to content

Modifying a nested array is not picked up by sync. #900

@dnwpark

Description

@dnwpark

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ORMbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions