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

Wire messenger transport factory #944

Merged
merged 2 commits into from Apr 6, 2019

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Apr 4, 2019

Supersedes #868.

This adds a service for the DoctrineTransportFactory class to the messenger integration config, but doesn't tag it as transport factory. This way, there shouldn't be any errors due to the class not being present in older versions of symfony/messenger.
The tag is then added in DoctrineExtension if the class in question actually exists.

I'm not sure how to best test this since all we're checking is whether the service has a tag; this information is no longer available in the compiled container. Any suggestions?

@alcaeus alcaeus added the Feature label Apr 4, 2019
@alcaeus alcaeus added this to the 1.11.0 milestone Apr 4, 2019
@alcaeus alcaeus self-assigned this Apr 4, 2019
@alcaeus alcaeus requested a review from a team April 4, 2019 09:48
@alcaeus alcaeus added this to 2.0 in Roadmap Apr 4, 2019
@alcaeus alcaeus moved this from 2.0 to 1.11 in Roadmap Apr 4, 2019
Resources/config/messenger.xml Outdated Show resolved Hide resolved
@alcaeus alcaeus force-pushed the wire-messenger-transport-factory branch from 78774ce to 45817de Compare April 5, 2019 07:28
@alcaeus alcaeus merged commit 8fb9dbb into doctrine:master Apr 6, 2019
@alcaeus alcaeus deleted the wire-messenger-transport-factory branch April 6, 2019 09:06
@alcaeus alcaeus added the ⭐️ EUFOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming label Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐️ EUFOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants