api-platform / api-platform/core

Support doctrine/collections ^3 in API Platform Doctrine packages

未關閉
#7,941 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
doctrine
主要語言
PHP
星號
2.6k
分支
980
平均合併
2 天 5 小時
30 天內合併 PR
48

描述

Hello,

I'm trying to upgrade `doctrine/collections` to `^3.1` in a project using API Platform with Doctrine ORM.

Current setup:
- `api-platform/doctrine-orm: ^4.3.3`
- `doctrine/orm: ^3.6.3`

Composer reports that the upgrade is blocked because:
- `doctrine/orm` < 3.7 requires `doctrine/collections ^2.x`
- `api-platform/doctrine-common` currently requires `doctrine/collections ^2.1`

From what I can see, Doctrine ORM support for `doctrine/collections ^3` has already been added in [newer Doctrine ORM versions](https://github.com/doctrine/orm/tree/3.7.x), but API Platform still prevents the upgrade through its Doctrine packages.

Is support for `doctrine/collections ^3` planned for:
- `api-platform/doctrine-common`
- `api-platform/doctrine-orm`

If yes, is there an expected version or timeline?

Thanks a lot for the amazing API Platform 🙂

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。