You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've read in other comments to another issue that this library wasn't necessary intended to work with single models which might be why I am seeing this issue.
I have a model with a static / constant id, 'settings'.
Each time I make a change to the attributes of my settings object I do a model.save. Each save appends a new 'settings' value to the current local storage value.
I've read in other comments to another issue that this library wasn't necessary intended to work with single models which might be why I am seeing this issue.
I have a model with a static / constant id, 'settings'.
Each time I make a change to the attributes of my settings object I do a model.save. Each save appends a new 'settings' value to the current local storage value.
example:
first save creates two local storage entries:
settings -> settings
settings-settings -> json object
next save:
settings -> settings,settings
settings-settings -> json object
next save:
settings -> settings,settings,settings
settings-settings -> json object
etc.
I've changed the save method to look at the value before setting which seemed to work but not sure if this will break something else:
The text was updated successfully, but these errors were encountered: