Comments (10)
@derrabus kindly fixed my sh*t in the latest release, which he is going to tag as 2.12.1 very soon; this can be closed :)
from psr-container-doctrine.
@Ocramius @eichie FYI, We are discussing potential solutions for the same problem in the Laminas Module:
doctrine/DoctrineModule#774
doctrine/DoctrineModule#775
doctrine/DoctrineModule#776
from psr-container-doctrine.
Seems like an upstream BC break: doctrine/orm#9668
/cc @greg0ire
I think a revert in upstream is kinda needed here.
from psr-container-doctrine.
@ppaulis I think this needs a full revert in upstream.
from psr-container-doctrine.
😟 @Ocramius do you foresee more breakage in other packages or do you think none of the solutions above are acceptable? Regardless of whether this gets revert, should the code in doctrine module be reworked? It seems wrong to assume every child class of AnnotationDriver will have a constructor with the same signature.
from psr-container-doctrine.
It is what it is, @greg0ire: involuntary BC breaks are bugs, and the source/root cause here is doctrine/orm
.
Remember that you are only observing the BC breaks on these packages, not what users are doing in closed source software.
from psr-container-doctrine.
As for assumptions: absolutely - these modules are janky integration code, and rework may be needed overall, but that comes by including better static analysis, which would have caught this too.
These packages are old and stable though, so any change introduces risk, rather than value.
from psr-container-doctrine.
Ok, l should be able to work on this soon. I'll revert then work on trying to find a better upgrade path.
from psr-container-doctrine.
@eichie Can you please check if ORM 2.12.1 fixes your issue?
from psr-container-doctrine.
@derrabus @Ocramius @greg0ire Yes, with version 2.12.1 it works fine again. 👍
Thank You! :-)
from psr-container-doctrine.
Related Issues (20)
- Migrations: Document how to use a custom version comparator
- DsnParser doesn't map scheme like before
- DriverFactory doesn't work with Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain HOT 2
- Slice the codebase into the doctrine libraries HOT 7
- Multiple EntityManagers wont work due to invalid AbstractFactory HOT 6
- Conflict dependencies updating to doctrine orm 2.8 HOT 9
- Roll out `laminas/automatic-releases` here
- Little mistake in "aliases" example? (documentation) HOT 1
- Wiring up Migrations HOT 5
- DriverFactory incompatible with AttributeDriver HOT 1
- Class 'Doctrine\Common\Cache\ArrayCache' not found with doctrine/cache 2.x upgrade HOT 2
- Missing "class" config key on Laminas Mezzio
- Functional config example for doctrine with mezzio HOT 1
- DriverFactory.php incompatible with doctrine/common: "^3.0" HOT 5
- Dependency range is broken HOT 5
- Missing configuration file when using the CLI HOT 4
- Support doctrine/persistence 3.0 with ORM 2.12 HOT 4
- Dependency Dashboard
- Issues with my configuration because of an issue running orm:mapping:describe 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 psr-container-doctrine.