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
644 stars 70 forks source link

Don't return a `Proxy` if `->withoutPersist()` was used #483

Closed nikophil closed 1 year ago

nikophil commented 1 year ago

this is a big BC, but we should at least think how this could be deprecated

kbond commented 1 year ago

I'm thinking we'd wrap this up in the deprecation of the Proxy object entirely. Once we use real proxies, we'd return an instance of the real object

nikophil commented 1 year ago

ok then, let's close this