-
-
Notifications
You must be signed in to change notification settings - Fork 69
Unwrap value in indexedDb
?
#67
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
Comments
So, to follow up from #65, what if you consider the object with ONLY the In fact, you could do the opposite and start saving a new key to indicate that you were the one that saved it. So, say, if the key Another idea (that may work alongside the previous one) can be to add a configuration option for your lib to indicate a predefined |
Your first solution would still be a problem for objects with just The last idea will probably be the good one. |
indexedDb
for better interoperabilityindexedDb
indexedDb
indexedDb
?
Fixed by #82, which will be available in v8. |
Follow up of #65.
Currently, when storing in
indexedDb
, values are wrapped in this structure:{ value: ... }
. It's totally OK inside the lib, but can cause (rare) interoperability issues.Need investigation to check if unwrapping is possible, as it could lead to major breaking change.
The text was updated successfully, but these errors were encountered: