Skip to content

Array persistence store with strict objects#860

Merged
mvorisek merged 3 commits intodevelopfrom
array_obj_store
Apr 23, 2021
Merged

Array persistence store with strict objects#860
mvorisek merged 3 commits intodevelopfrom
array_obj_store

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Apr 21, 2021

There are minor BC breaks like renamed array Action class, but these are normally not used by the end user thus the changes should be BC, also no changes in atk4/ui required or it was a bug previously.

Fixes several bugs like non strictly rectangular data, Array persistence throw if update is called on non existing ID...

@mvorisek mvorisek changed the title Array obj store Array persistence store with strict objects Apr 21, 2021
@mvorisek mvorisek force-pushed the array_obj_store branch 2 times, most recently from 4bfe15e to 8932fd3 Compare April 21, 2021 16:17
@mvorisek mvorisek marked this pull request as ready for review April 21, 2021 16:17
@mvorisek mvorisek force-pushed the array_obj_store branch 4 times, most recently from 247042e to 6be75ee Compare April 21, 2021 21:27
@mvorisek mvorisek force-pushed the array_obj_store branch 2 times, most recently from 32d742a to 977f0d5 Compare April 22, 2021 12:27
7 => ['name' => 'ABC3', 'code' => 17, 'country' => 'Latvia', 'active' => 0],
8 => ['name' => 'ABC2', 'code' => 18, 'country' => 'Russia', 'active' => 1],
9 => ['code' => 19, 'country' => 'Latvia', 'active' => 1],
9 => ['name' => null, 'code' => 19, 'country' => 'Latvia', 'active' => 1],
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this PR always make sure the data are rectangular, a positive side effect

Copy link
Copy Markdown
Member

@DarkSide666 DarkSide666 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but few questions

@mvorisek mvorisek merged commit 41ef337 into develop Apr 23, 2021
@mvorisek mvorisek deleted the array_obj_store branch April 23, 2021 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants