Skip to content
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

Errors in ORM3/DBAL4 #567

Closed
KDederichs opened this issue Mar 8, 2024 · 2 comments
Closed

Errors in ORM3/DBAL4 #567

KDederichs opened this issue Mar 8, 2024 · 2 comments

Comments

@KDederichs
Copy link
Contributor

Not sure if you're already aware (I've not seen anything related to it) but updating to ORM 3 and DBAL 4 breaks Foundry:

OutOfRangeException: Unknown property "mappedBy" on class Doctrine\ORM\Mapping\ManyToOneAssociationMapping

/app/vendor/doctrine/orm/src/Mapping/AssociationMapping.php:243
/app/vendor/zenstruck/foundry/src/Factory.php:463
/app/vendor/zenstruck/foundry/src/Factory.php:411
/app/vendor/zenstruck/foundry/src/Factory.php:111
/app/vendor/zenstruck/foundry/src/FactoryCollection.php:76
/app/vendor/zenstruck/foundry/src/ModelFactory.php:41
/app/tests/Integration/Service/Foo/FooServiceTest.php:71

Maybe that's fixed in the 2.0 draft, but I thought I'd bring it up non the less :)

@kbond
Copy link
Member

kbond commented Mar 9, 2024

We'd like to have it working in 1.x too (#556)

@kbond
Copy link
Member

kbond commented Mar 20, 2024

Fixed in #569.

@kbond kbond closed this as completed Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants