Skip to content
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

[Messenger] Fix precedence of DSN options for 4.4 #37268

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

jderusse
Copy link
Member

@jderusse jderusse commented Jun 13, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #37218 (comment)
License MIT
Doc PR N/A

This PR fix précédence of DSN options over constructor options in all component on branch 4.4

@@ -209,7 +209,7 @@ public function buildConfigurationProvider(): iterable
'expectedAutoSetup' => false,
];

yield 'options from options array wins over options from dsn' => [
yield 'options from dsn array wins over options from options' => [
Copy link

@kralos kralos Jun 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should instead be referring to URI not DSN #36999 (comment)

especially in the context of messenger, this is not a data source.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe, but this is not the purpose of this PR.
Dsn is consistent with the current code and documentation: https://symfony.com/doc/current/messenger.html#transports-async-queued-messages

@nicolas-grekas nicolas-grekas merged commit 453c3a7 into symfony:4.4 Jun 18, 2020
This was referenced Jul 24, 2020
@jderusse jderusse deleted the fix-precedence-44 branch October 15, 2020 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants