Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array count can get out of date in some situations #812

Open
bvulaj opened this issue Sep 22, 2017 · 0 comments
Open

Array count can get out of date in some situations #812

bvulaj opened this issue Sep 22, 2017 · 0 comments

Comments

@bvulaj
Copy link
Member

bvulaj commented Sep 22, 2017

Consider the case where we have two versions of metadata for foo: 1.0 and 2.0

In version 1.0 we have an array field, bars, that exists on foo. The generated field bars# is updated as we add and remove items from that array.

In version 2.0 we have moved the field bars to an association. So foo and bar are now their own entities, with foo having an association field now to bar.

If we update bar entities, adding and removing them through bar metadata, and then access the foo 1.0 metadata, the bar# field will now be inaccurate, because it was not aware of any changes, since the changes were not executed through foo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant