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

Added support for multiple model types to shared.js #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ldeboer
Copy link

@ldeboer ldeboer commented Oct 24, 2015

Allows shared.js to store cache based on type of data, so it can store multiple objects with the same $pk, as long as they are of different types. Most of this code came from @jasonayre in issue #208.
Lines 39-41 were added by me to fix a bug where model scopes would get nested after being cached. This way the scope is refreshed every time it is read from the cache.

Allows shared.js to store cache based on type of data, so it can store multiple objects with the same $pk, as long as they are of different types.  Most of this code came from @jasonayre in issue platanus#208.
Lines  39-41 were added by me to fix a bug where model scopes would get nested after being cached.  This way the scope is refreshed every time it is read from the cache.
@jpulec
Copy link
Contributor

jpulec commented Sep 26, 2016

@ldeboer This PR is quite old and out of date. Do you still have any interest in getting it included?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants