Comments (14)
It appears this will be a goal of the
develop
branch for Laminas.
@TomHAnderson are you working on updating to odm 2.0? Because I did some work on that some time ago (very unfinisehd but already working basically) but stopped then because I'll probably need that to work on mezzio, too. I would rather do something like this one: https://github.com/DASPRiD/container-interop-doctrine.
Either way, do you want to see my progress so far? I'll probably need to rebase it onto develop
, though.
from doctrinemongoodmmodule.
@TomHAnderson Sorry. In the meantime I improved the code a bit but it's unfinished, so I don't think you can publish that. But due to the COVID incident I currently don't have much time to work on the code, but as soon I have some time I'll push it of course.
from doctrinemongoodmmodule.
@metanav you can try it yourself via "require": {"doctrine/mongodb-odm": "2.0.0-alpha1 as 1.99.99"}
from doctrinemongoodmmodule.
@Ocramius there is an upgrade guide which says there are some changes:
"The constructor signature of Doctrine\ODM\MongoDB\DocumentManager as well as the create, getClient, getDocumentDatabase, getDocumentCollection, and getDocumentCollections methods have been updated to handle classes from mongodb/mongodb instead of doctrine/mongodb."
I was just checking if doctrine/DoctrineMongoODMModule will work as is?
from doctrinemongoodmmodule.
It will most likely not - changes will need to be made here as well, hence why I suggested you attempt an upgrade and see how much breaks.
from doctrinemongoodmmodule.
I see, thanks!
from doctrinemongoodmmodule.
I can tell you that the module is most likely not going to work with 2.0 without adjustments. I'll see when I can get to it, however the focus is on ODM itself and the Symfony bundle (as that's what I use personally). Contributions to the module are highly welcome.
from doctrinemongoodmmodule.
@alcaeus Is there any plan to update it anytime soon? Please let me know if I can help, might need some guidance to start.
from doctrinemongoodmmodule.
I most likely won't have time to work on this over the next weeks. You can take a look at the corresponding bundle PR: doctrine/DoctrineMongoDBBundle#475 that brings basic compatibility with 2.0. If you have any questions, please don't hesitate contacting me here or in either the Symfony or Doctrine Slacks.
from doctrinemongoodmmodule.
To avoid duplicating efforts, is someone already working on upgrading this to support 2.0 already?
from doctrinemongoodmmodule.
Doctrine itself is not working on it.
from doctrinemongoodmmodule.
It appears this will be a goal of the develop
branch for Laminas.
from doctrinemongoodmmodule.
@rieschl I am not working towards ODM 2.0.
The develop branch here is in a working state and I just added Docker for testing (see the end of the README on develop for details). I would love to see what you have. Please create a PR on develop and let's go from there.
from doctrinemongoodmmodule.
@rieschl I had the impression you would add odm 2.0 support to this develop branch. The project is waiting on these changes. Can you give me a timeline for when you can put a PR in place?
If your situation has changed and you won't be doing this please let me know and I'll release this with the old odm version. I would much prefer to include your work.
from doctrinemongoodmmodule.
Related Issues (20)
- Missing defaultRepositoryClassName attribute HOT 2
- locked package? HOT 4
- Last upgrade of doctrine break v0.11 HOT 2
- Transition to Laminas HOT 4
- Deprecated message HOT 1
- Problem directory name HOT 14
- Add support for PHP 8.0 and drop support for PHP 7.2 HOT 10
- relax/move laminas-hydrator HOT 1
- Configuration template is outdated HOT 7
- Add missing dependencies to composer.json to prevent unwanted soft dependencies
- Update doctrine/coding-standard to 9.0
- Update phpunit/phpunit to 9.5
- Deprecate `createService()` methods as laminas-servicemanager 3.x is already required
- Add Psalm and set up CI
- Add PhpStan and set up CI
- Add support for PHP 8.1 HOT 1
- Instantiation of MongoDB AnnotationDriver fails HOT 7
- Version 5 error class cache injection HOT 1
- `Configuration::setMetadataCacheImpl` is deprecated since mongodb-odm 2.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctrinemongoodmmodule.