Skip to content

Only update resource id if it is nil or not the same as value to be updated#54

Open
v-ken wants to merge 4 commits intojoshdholtz:masterfrom
v-ken:id-preservation
Open

Only update resource id if it is nil or not the same as value to be updated#54
v-ken wants to merge 4 commits intojoshdholtz:masterfrom
v-ken:id-preservation

Conversation

@v-ken
Copy link

@v-ken v-ken commented Oct 25, 2018

This is to support using Realm as the persistence layer where primary keys (e.g. id) are not allowed to be updated after the object is inserted.

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.

1 participant