Dimitris Tsironis
Dimitris Tsironis
Wow great work! What happens when expiration time is up? Should we remove the object entirely from `localStorage`? cc @eavgerinos
@eavgerinos can you do an additional code review so we merge it to master?
Hello all, I'm solving all bugs and releasing the next version as soon possible (v0.8.5)! cc @yurevichcv @daniel-rabe
@d-scott releasing new v0.8.5 in a few minutes - stay tuned! 👍
@d-scott @yurevichcv v0.8.5 released!
Hello gokatz, Sorry for the late reply. I would like to see some specs on this behavior in order to define it more accurately. I prefer not to overcomplicate things...
Cool idea! Let's name it `Lockr.srempos`, or maybe `Lockr.sremat` which I think is more concise. What do you think?
Just clarifying `Lockr.srem` works like `_.without` though, so if you provide a JSON object, `srem` will remove all instances containing that key-value pair. Is that the behaviour you would expect?
Indeed, it doesn't work currently for objects like this yet. I was referring to the existing functionality of `srem` that removes all instances of a value in a specified array....
@eavgerinos what we would be a Redis-like method name for `srempos`? Is there an equivalent?