-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
ORM 3.0 Compat #1516
Comments
Nah, that one only affects this package and the Symfony integration as it relates to hard requiring an annotation reader and the serializer's annotation metadata driver to be set up. The test issues are all from the tests themselves using the ORM's deprecated annotation driver. |
It looks like
will also affect a bit our tests - we use this method in few places. It looks like ODM will need a lot of time & changes to make it compatible with doctrine/persistence 3.0. So removing it from dependencies for this package seems to be the way to make it work. Best, Marcin. |
I have no issues with dropping old php versions or package versions |
It looks like there are still some work to do - mainly related to Annotation setup 🤔 https://github.com/schmittjoh/serializer/actions/runs/6686207218/job/18165299334?pr=1523 |
Yeah, so building off of #1471 for the next steps is probably the best path forward. With the Annotations library's design around bailing out on unknown annotations (other than ones it knows to ignore in |
Thanks for tips. It looks like few lines of codes in tests solved all compatibility issues for now :) So IMO we can still go with Support for annotations as they are 🤔 . |
The related MR has been merged. All tests passes for ORM 3.0 :) I will make release on the beginning of the next week. |
The ORM now has a 3.0 beta release, so compat should be looked at since it's a bit of a bigger release.
I did manage to get it to install with this package after removing the PHPCR-ODM since its dependencies effectively block installing ORM 3.0, and ran the tests.
Test Output
As of this writing, the blockers to running the tests are:
Doctrine\ORM\Version
class is used (at this point that's probably unnecessary, the CI for the lowest deps build on PHP 7.2 is installing ORM 2.14, much higher than the minimum 2.1 suggested incomposer.json
or 2.5 which the tests using that class check against)The text was updated successfully, but these errors were encountered: