Custom autofixtures not used by generate_fk
Closed this issue · 3 comments
theospears commented
When generating an object and some of its foreign keys at once by calling e.g. AutoFixture(Book, generate_fk=['author'])
, any custom autofixture registered against Author will be ignored, and instead a default generated autofixture will be used.
This behaviour surprised me, is it a deliberate design decision or a bug?
gregmuellegger commented
That's propably a bug. I'll have a look.
gregmuellegger commented
This fix was just released with version 0.5.0
theospears commented
Thanks Greg!