line / line/req-shield

Allow us to access 'cache name' property from ReqShieldCache (or AsyncCache)

Open
#33 5 comments 1 reaction 1 assignee Claimed by @pinest94 View on GitHub
Dominant language
Kotlin
Stars
21
Forks
5
Avg merge
3h 9m
Merged PRs (30d)
5

Description

When using Caffeine Cache, we load the Cache corresponding to a cache name from the `CaffeineCacheManager` and perform operations such as `get` and `put`.
* https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/cache/caffeine/CaffeineCacheManager.html#getCache(java.lang.String)
It should be possible to access the name property in `ReqShieldCache` (or `AsyncCache` in WebFlux/Coroutine environments).

Additional Question)
Should `ReqShieldCache` and `AsyncCache` have different interface names?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.