-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use adapter as adapter in cache config #24
Comments
I know about the problem of using it as an adapter directly, sadly never found a solution for that. Symfony for some reason injects a string as the first argument instead of the configured one. Where are you trying to import the service directly? That should AFAIK work. |
Yes, I switched to using this cache as a standalone service. |
You can also make the |
Hi!

Could you please suggest how to use the services from this package in adapters config?
I have something like this:
Rikudou\\DynamoDbCacheBundle\\Cache\\DynamoDbCacheAdapter::__construct(): Argument #1 ($cache) must be of type Rikudou\\DynamoDbCache\\DynamoDbCache, string given, called in /application/var/cache/qa/Container2ANkKkQ/getDealerHierarchyServiceService.php on line 23
And whenever I try to do else the adapter is not injectable. I got either "service does not exist" or "cannot inject argument as service is not yet configured" etc
The text was updated successfully, but these errors were encountered: