-
Notifications
You must be signed in to change notification settings - Fork 168
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
RCORE-2168: Replicate clear instruction unconditionally for nested collections #7821
Conversation
Pull Request Test Coverage Report for Build jorgen.edelbo_319Details
💛 - Coveralls |
Can you add a summary in the description of the behavior these changes introduce? |
Done |
@@ -6204,6 +6204,95 @@ TEST(Sync_DeleteCollectionInCollection) | |||
} | |||
} | |||
|
|||
TEST(Sync_NestedCollectionClear) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add the same test for dictionaries too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping we can have the same schema with different scenarios as for lists (i.e, Dictionary vs Dictionary in Mixed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure what you mean. I have added a test case that fails without the fix that this PR provides.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant that for lists you use all three Mixed fields in the schema in tests.
Pull Request Test Coverage Report for Build jorgen.edelbo_323Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build jorgen.edelbo_324Details
💛 - Coveralls |
@@ -6204,6 +6204,95 @@ TEST(Sync_DeleteCollectionInCollection) | |||
} | |||
} | |||
|
|||
TEST(Sync_NestedCollectionClear) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping we can have the same schema with different scenarios as for lists (i.e, Dictionary vs Dictionary in Mixed)
Pull Request Test Coverage Report for Build jorgen.edelbo_329Details
💛 - Coveralls |
What, How & Why?
Fixes #7809
This change makes sure that a collection nested in a Mixed type always will contain the values that has been assigned to it by some client. Before this change you could end up having a combination of values assigned by different clients.
☑️ ToDos
bindgen/spec.yml
, if public C++ API changed