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
This can be seen an extension of this conversation from Framework, which I originally posted thinking I was in Spring Boot's Issues (I've checked 5 times that this is Boot already while writing this)
Currently Spring Boot's Autoconfiguration will handle if you provide a CacheManager Bean, however won't handle if you provide a CacheResolver bean. Both beans should like either require CachingConfigurer, or not. Currently it's one requires it, the other doesn't.
The text was updated successfully, but these errors were encountered:
Crain-32
changed the title
Spring Cache Configuration Changes
Spring Cache AuthConfiguration Adjustment
Jul 29, 2024
snicoll
changed the title
Spring Cache AuthConfiguration Adjustment
Auto-configure cache infrastructure to use a CacheResolver bean if present
Jul 30, 2024
This is a fair point. The reason why this happens this way stems in framework. If you provide a CacheManager bean we will use that. For any other advanced configuration, the configurer is required. I am not sure this should be fixed here, actually, even if we already provided implementations of configurer in the past for convenience.
This can be seen an extension of this conversation from Framework, which I originally posted thinking I was in Spring Boot's Issues (I've checked 5 times that this is Boot already while writing this)
Currently Spring Boot's Autoconfiguration will handle if you provide a
CacheManager
Bean, however won't handle if you provide aCacheResolver
bean. Both beans should like either requireCachingConfigurer
, or not. Currently it's one requires it, the other doesn't.The text was updated successfully, but these errors were encountered: