meilisearch / meilisearch-symfony

Seamless integration of Meilisearch into your Symfony project.
https://www.meilisearch.com
MIT License
125 stars 30 forks source link

Meilisearch requires doctrine bundle although the target application doesn't use it #167

Open aturki opened 2 years ago

aturki commented 2 years ago

Description Basically, when an application uses doctrine mongodb odm for instance, installing meilisearch symfony will also install doctrine bundle which is not required by the app.

Expected behavior Meilisearch bundle should not depend on doctrine-bundle but rely on configuration options to use the right DB

Screenshots or Logs N/A

Environment (please complete the following information):

brunoocasali commented 2 years ago

Hello @aturki thanks for your message!

Currently, we are working with all hands on the upgrade of the integrations to v0.26 of Meilisearch, so I don't have the time to dig into this :/

But if you want, you could provide a PR for that! I'll be happy to approve it 💪

norkunas commented 2 years ago

The doctrine bundle dependency could be made as optional in future if https://github.com/meilisearch/meilisearch-symfony/issues/121 will be implemented