-
Notifications
You must be signed in to change notification settings - Fork 140
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
Fails to cache Promises properly #30
Comments
can you provide a example or test case? |
I just saw that 2.2.0 is a compatibility breaking update. Don't forget that the versioning of npm projects should respect : http://semver.org/ (i.e. not break compatibility when the first number does not change). Most people having For now I just fixed my problem using |
Also, note that cloning cached items may not be what users want. You should expose this as an option. |
The cloning of items should be the default. Version 2.x should work as before with the default being not to clone. Version 3.x should have cloning disabled by default with an option to disable it. |
i unpublished the version |
Testing done. The version |
Does 3.0.0 with |
i don't think this will work. I'm using this module node-clone to clone variables, because i won't implement such a basic function again :-). |
Yep, that would make more sense. |
Promises (available in Node 0.12+) should not be cloned (or the
clone
module should handle Promises properly).Currently, nodecache breaks implementations caching promises.
The text was updated successfully, but these errors were encountered: