You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have recently using scala cache in my application. I have a key as an object. I have to explicitly define the string as a key from the same object. can we make it generic and then it's up to the user to define it as a string or object. is there anything I am missing?
The text was updated successfully, but these errors were encountered:
I haven't dived it the code myself, but using stringly keys is probably a compromise here. If we allowed generic object, the the redis/memcached which are remote, probably wouldn't be possible to implement since you'll need to serialize the keys somehow. You would need some type, that is generally serializable, independent of the cache implementation, and string is a straight forward one.
Hi,
I have recently using scala cache in my application. I have a key as an object. I have to explicitly define the string as a key from the same object. can we make it generic and then it's up to the user to define it as a string or object. is there anything I am missing?
The text was updated successfully, but these errors were encountered: