Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Messenger] [Redis] Makeauth option works#42067
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
chalasr commentedJul 12, 2021
A test case would be nice to prevent regressions |
welcoMattic commentedJul 12, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@chalasr Sure, I'm on it. I will push it later today EDIT: sorry for the messy rebase on 5.3 |
welcoMattic commentedJul 13, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
As documentation mention "Options defined under options take precedence over ones defined in the DSN." (https://symfony.com/doc/current/messenger.html#transport-configuration), I've updated the code to respect that. Also, I've added test to assert that put the auth value at user or password place in the DSN doesn't matter. |
chalasr commentedJul 13, 2021
Good catch, thanks@welcoMattic. |
chalasr commentedJul 13, 2021
Merged on 5.2 as this is a quick win and we didn't discuss about freezing 5.2 yet. |
Uh oh!
There was an error while loading.Please reload this page.
Considering this configuration:
It results to this error:
Because the
authoption was never read from the options, only from the parsed DSN.This fix allows users to use
authoption from the configuration.I target 5.3, as 5.2 is going to be unmaintained at the end of July