Add @CacheKey()
annotation
#55
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Add
CacheKey
annotation which will allow developers to pass function which will generate cache key (by defaulthashCode
is used as a cache key).@CacheKey
annotation that will take one param with typeString Function(dynamic)
@CacheKey
is not used with@Ignore
or@ignoreCache
annotationshashKey
with result of function passed in@CachedKey
annotation@cacheKey
@cacheKey
Example usage:
To discus:
Maybe we should create also something like
@iterableCacheKey
which will handle case described in "example usage" as its quite generic.The text was updated successfully, but these errors were encountered: