-
-
Notifications
You must be signed in to change notification settings - Fork 921
Add Behat test for PR 2183 #2188
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
Add Behat test for PR 2183 #2188
Conversation
Nice, many thanks! looks like tests are failing on |
composer.json
Outdated
@@ -36,7 +36,7 @@ | |||
"behatch/contexts": "3.1.0", | |||
"doctrine/annotations": "^1.2", | |||
"doctrine/doctrine-bundle": "^1.8", | |||
"doctrine/orm": "^2.5.2", | |||
"doctrine/orm": "^2.6.2", |
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.
Isn't 2.6.0 enough? It would be better to set as minimal version the first Doctrine version supporting this feature.
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.
@dunglas yes. I edit composer.json
composer.json
Outdated
@@ -54,7 +54,7 @@ | |||
"symfony/console": "^3.4 || ^4.0", | |||
"symfony/debug": "^2.8 || ^3.0 || ^4.0", | |||
"symfony/dependency-injection": "^3.4 || ^4.0", | |||
"symfony/doctrine-bridge": "^2.8.12 || ^3.0 || ^4.0", | |||
"symfony/doctrine-bridge": "^4.0", |
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.
If it is supported by Symfony 4.0, it should also be supported by Symfony 3.4. We should at least support 3.4 because it's the latest LTS version.
2f16aa4
to
e0f1a7f
Compare
I agree with @soyuka, it may cause big issues for existing projects. @ilicmsreten do you think we can use some kind of feature detection instead of bumping the version? If I understand correctly the patch, bumping the version if only necessary for tests, not for the actual code? If true, we may just skip these tests when old versions are used. WDYT? |
👍 Let's do this! |
Given #2205 I guess this can be closed ? |
@antograssiot yes cause #2205, but this test need to pass after fixing bug api-platform/api-platform#799. |
We still want the hydration feature, we just need to move it elsewhere (ie not in the eager loading extension because there's no pagination yet...) /note for EU-FOSSA Hackathon just cherry-pick the test |
I'm working on finishing this one |
e0f1a7f
to
bf2ce57
Compare
6eec21a
to
44af515
Compare
44af515
to
8029b86
Compare
thanks @antograssiot @ilicmsreten |
This test is related with approved PR and reported bug #799.