-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Support doctrine/mongodb-odm ^2.x & doctrine/mongodb-odm-bundle ^4.x #321
Conversation
AFAIK you could do this on the stable branch. WDYT @sonata-project/contributors |
Yes let’s do it on the stable branch |
c7eab13
to
0c51ace
Compare
hello @core23 @OskarStark Thanks for reviews 👍 I don't have a lot of experience in BC management (I thought I had to target the master branch with these changes) and I am a novice in the contribution to open-source packages 😕 I'll check why CI fail |
Hello, |
IMO, from a strict semver point of view, if the changes are respecting BC we could accept them regardless their dependencies; since PHP is in fact a dependency itself. |
@@ -13,7 +13,7 @@ | |||
|
|||
namespace Sonata\DoctrineMongoDBAdminBundle\Builder; | |||
|
|||
use Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo; | |||
use Doctrine\ODM\MongoDB\Mapping\ClassMetadata; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class exists in odm 1.x and 2.x. You could support both version inside the composer.json file
45547f7
to
4c17ecd
Compare
hello @core23 thanks for review.
|
thanks @ALL for your time & reviews |
We thank you for this contribution, keep on going 👍🏻👍🏻🥳🥳 |
doctrine/mongodb-odm
(^1.0 || ^2.0
)doctrine/mongodb-odm-bundle
(^3.0 || ^4.0
)FilterTypeGuesserTest
I am targeting this branch, because this is not BC.