Skip to content

Conversation

@julienbourdeau
Copy link
Contributor

Q A
Bug fix? no
New feature? maybe
BC breaks? TBD
Related Issue Fix #243
Need Doc update no

Describe your change

In service configuration, I removed the connection attribute for the eventSubscriber. As far as I understand, if you have multiple connections, they will all be used but this should be tested more in-depth.

I'm still unsure if this should be considered breaking from a SEMVER stand point

What problem is this fixing?

If your symfony doesn't have a connection called default, it would break.

@julienbourdeau
Copy link
Contributor Author

I realized the config used for the tests doesn't define the connection so it shouldn't be an issue:
https://github.com/algolia/search-bundle/blob/master/tests/config/services.yml#L12-L23

@julienbourdeau julienbourdeau force-pushed the config/remove-connection-name branch 2 times, most recently from c73a4a3 to ee57363 Compare August 28, 2018 08:46
@julienbourdeau julienbourdeau force-pushed the config/remove-connection-name branch from ee57363 to 4ad372e Compare August 28, 2018 09:46
@julienbourdeau julienbourdeau merged commit a73b129 into master Aug 28, 2018
@julienbourdeau julienbourdeau deleted the config/remove-connection-name branch August 28, 2018 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow specifying the doctrine connection

2 participants