-
Notifications
You must be signed in to change notification settings - Fork 325
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
Predis vs Phpredis container definitions #383
Comments
Agreed, pretty weird. Fixing it would imply major BC break though so let's see if we can get this done in 3.0. |
curry684
added
dx
Developer eXperience
enhancement
Improves existing functionality
labels
Apr 6, 2018
Should be fixed in 3.0.0-RC1. |
Not fixed I will clean this up before stable (#452 ) |
B-Galati
added a commit
to B-Galati/SncRedisBundle
that referenced
this issue
Feb 21, 2019
…alias}_client'
B-Galati
added a commit
to B-Galati/SncRedisBundle
that referenced
this issue
Feb 21, 2019
B-Galati
added a commit
to B-Galati/SncRedisBundle
that referenced
this issue
Feb 21, 2019
B-Galati
added a commit
to B-Galati/SncRedisBundle
that referenced
this issue
Feb 21, 2019
B-Galati
added a commit
to B-Galati/SncRedisBundle
that referenced
this issue
Feb 23, 2019
B-Galati
added a commit
to B-Galati/SncRedisBundle
that referenced
this issue
Feb 23, 2019
B-Galati
added a commit
to B-Galati/SncRedisBundle
that referenced
this issue
Mar 14, 2019
B-Galati
added a commit
that referenced
this issue
Mar 26, 2019
fix #383 - deprecates redis service alias in favor of 'snc_redis.{alias}'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a reason that a Predis client gets the service definition name
snc_redis.CLIENT_ALIAS
but a Phpredis client gets the service definition namesnc_redis.phpredis.CLIENT_ALIAS
and an alias tosnc_redis.CLIENT_ALIAS
I only noticed because we have a couple of instances (using the oro platform, part of the cache dumping) where services are requested by
getDefinition
method rather thanfindDefinition
method and so, when using thesnc_redis.CLIENT_ALIAS
key, Predis clients don't throw an error because they have an actual definition but Phpredis client definitions cannot be found asgetDefinition
does not look for aliases.Would be interested to hear your thoughts
The text was updated successfully, but these errors were encountered: