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

Adding support for array values #102

Open
levani opened this issue May 17, 2018 · 2 comments
Open

Adding support for array values #102

levani opened this issue May 17, 2018 · 2 comments

Comments

@levani
Copy link

levani commented May 17, 2018

I had an use case where I wanted to store array as a value and later push/pop some items.

I think it would make sense to add methods like push, pop, unshift, etc, to work with array values directly from cache object, instead of getting the value, manipulating and then putting it back in cache.

I would like to discuss this in more details and send a PR if you think this will be useful in general.

@CodeLuca
Copy link

^

@IvanAdmaers
Copy link

Good idea. I’ll think about the possibility of implementing this in my similar package memory-cache-pro

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

No branches or pull requests

3 participants