zenstruck / foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html
MIT License
643 stars 70 forks source link

fix: don't try to proxify objects that are not persistable #646

Closed nikophil closed 3 months ago

nikophil commented 3 months ago

this is kinda related to https://github.com/zenstruck/foundry/issues/639

this PhoneNumber object should have never been proxyfied...