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

Use "set" in IDBKeyVal.mergeItem instead of duplicate merge logic #359

Conversation

chrispader
Copy link
Contributor

@marcaaron @tgolen

Details

Since in Onyx.merge we already read the existing value and merge it with the changes, we don't need to do that in IDBKeyVal.mergeItem() anymore. Therefore, we will simply use IDBKeyVal.setItem() directly.

Related Issues

#333 (comment)

Automated Tests

Linked PRs

@chrispader chrispader requested a review from a team as a code owner September 21, 2023 12:44
@melvin-bot melvin-bot bot requested review from cristipaval and removed request for a team September 21, 2023 12:44
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.

4 participants