CollectionLinkHydrator should extend from different AbstractCollectionStrategy#14
CollectionLinkHydrator should extend from different AbstractCollectionStrategy#14zluiten wants to merge 2 commits into
Conversation
…gy base class. Signed-off-by: Zacharias Luiten <zach@xzachly.com>
|
Can someone have a look this please? |
Your pull request does not fix the problem at all because this package still allow the installation of DoctrineModule with version 2. |
|
This package support both v2 and v3 of DoctrineModule. The class But here is the problem, v3 of the CollectionLinkHydrator still extends the AbstractCollectonStrategy from DoctrineModule v2! This PR fixes that. |
Thanks, I missed this hint in the bug report and in the pull request description. |
|
@Netiul Thanks in advance! 👍 |
|
@froschdesign No problem! I guess I could have been more elaborative initially.
That looks strange indeed. I can fix the casing in the test but I see now that the word |
Signed-off-by: Zacharias Luiten <zach@xzachly.com>
Fixes #13.
Class
Laminas\ApiTools\Doctrine\QueryBuilder\Hydrator\Strategy\CollectionLinkHydratorV3should extend classAbstractCollectionStrategyof doctrine/doctrine-laminas-hydrator when DoctrineModule >v3 is installed instead of the then removedAbstractCollectionStrategyof DoctrineModule v2.