Coder Social home page Coder Social logo

Comments (4)

kylekatarnls avatar kylekatarnls commented on July 24, 2024

This is already in the roadmap: #1681

from carbon.

kylekatarnls avatar kylekatarnls commented on July 24, 2024

Side note is it carbonphp/carbon-doctrine-types that you call a "relatively huge DB lib"? 👀 It's like 7 files of 10 lines of code. 🤷

from carbon.

arokettu avatar arokettu commented on July 24, 2024

@kylekatarnls No, I mean Doctrine itself of course
It gave me conflicts when I was updating Doctrine (on a project that uses it) so I thought that carbonphp/carbon-doctrine-types depends on it, now I see the declaration where it is in a "conflicts" section, sorry

from carbon.

kylekatarnls avatar kylekatarnls commented on July 24, 2024

Indeed carbonphp/carbon-doctrine-types does not include doctrine, it has no dependencies.

Note that carbonphp/carbon-doctrine-types uses the conflict so it can install the correct version needed to bridge with doctrine, but each doctrine version has a version of carbonphp/carbon-doctrine-types that supports it and carbon itself allow any version of carbonphp/carbon-doctrine-types which is the actual point of this library: not having to support multiple version of doctrine directly in carbon but to have it picked dynamically. Depending how you add dependencies and in which it might install by default the last version of carbon-doctrine-types then composer not downgrading automatically the version if you have a lower version of doctrine.

In such case, running:

composer require doctrine/dbal carbonphp/carbon-doctrine-types

Should help composer to find what versions to install.

from carbon.

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.