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

Improve Dirty Tracking of Mutable Collection Types #26

Merged
merged 2 commits into from
Jul 14, 2016

Conversation

awood45
Copy link
Member

@awood45 awood45 commented Jul 8, 2016

Adds mutation tracking of attributes in Aws::Record models. This is turned on by default for the collection types: :list_attr, :map_attr, :string_set_attr, and :numeric_set_attr. But can be enabled/disabled for individual attributes, and disabled if desired at the model level.

Adds mutation tracking of attributes in `Aws::Record` models. This is
turned on by default for the collection types: `:list_attr`,
`:map_attr`, `:string_set_attr`, and `:numeric_set_attr`. But can be
enabled/disabled for individual attributes, and disabled if desired at
the model level.
An if/else sequence was not an appropriate choice, logically. This
change creates an "or" check on both the dirty data hash and on the
mutation tracking system.
@awood45
Copy link
Member Author

awood45 commented Jul 14, 2016

Some offline review comments about the private API side of how the duplicates are stored. Merging to move on to the next feature/refactors.

@awood45 awood45 merged commit a54e3a6 into master Jul 14, 2016
@awood45 awood45 deleted the mutation-tracking branch July 15, 2016 16:32
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

Successfully merging this pull request may close these issues.

2 participants