Giter Club home page Giter Club logo

Comments (10)

greg0ire avatar greg0ire commented on July 26, 2024 3

@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.

ppaulis avatar ppaulis commented on July 26, 2024 2

@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.

Ocramius avatar Ocramius commented on July 26, 2024

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.

Ocramius avatar Ocramius commented on July 26, 2024

@ppaulis I think this needs a full revert in upstream.

from psr-container-doctrine.

greg0ire avatar greg0ire commented on July 26, 2024

😟 @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.

Ocramius avatar Ocramius commented on July 26, 2024

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.

Ocramius avatar Ocramius commented on July 26, 2024

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.

greg0ire avatar greg0ire commented on July 26, 2024

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.

derrabus avatar derrabus commented on July 26, 2024

@eichie Can you please check if ORM 2.12.1 fixes your issue?

from psr-container-doctrine.

eichie avatar eichie commented on July 26, 2024

@derrabus @Ocramius @greg0ire Yes, with version 2.12.1 it works fine again. 👍

Thank You! :-)

from psr-container-doctrine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.