-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CollectionLinkHydrator should extend from different AbstractCollectionStrategy #14
base: 1.9.x
Are you sure you want to change the base?
Conversation
…gy base class. Signed-off-by: Zacharias Luiten <[email protected]>
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 <[email protected]>
Fixes #13.
Class
Laminas\ApiTools\Doctrine\QueryBuilder\Hydrator\Strategy\CollectionLinkHydratorV3
should extend classAbstractCollectionStrategy
of doctrine/doctrine-laminas-hydrator when DoctrineModule >v3 is installed instead of the then removedAbstractCollectionStrategy
of DoctrineModule v2.