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
When trying to inject a RedisTagAwareAdapter via TagAwareAdapterInterface will throw an error:
Cannot autowire service "App\Service\Price\PriceService": argument "$priceCachePool" of method "__construct()" references interface "Symfony\Component\Cache\Adapter\TagAwareAdapterInterface" but no such service exists. Try changing the type-hint to "Psr\Cache\CacheItemPoolInterface" instead.
Symfony version(s) affected
6.4.0-RC1
Description
When trying to inject a
RedisTagAwareAdapter
viaTagAwareAdapterInterface
will throw an error:According to https://symfony.com/doc/current/cache.html this should work.
How to reproduce
Cache Pool Configuration:
(Also doesn't work when tags are missing)
DI Part:
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: