geldata / geldata/gel-python

Modifying a nested array is not picked up by sync.

Open
#900 0 comments 0 reactions 0 assignees View on GitHub
bug ORM
Dominant language
Python
Stars
415
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Given the schema:
```edgeql
type Foo {
val: tuple>;
};
```

the following code fails the assertion
```py
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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.