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

Allow parent to be passed into create methods #24

Open
mnussbaum opened this issue Feb 16, 2022 · 0 comments
Open

Allow parent to be passed into create methods #24

mnussbaum opened this issue Feb 16, 2022 · 0 comments

Comments

@mnussbaum
Copy link

First off just want to say thanks, this project has been super helpful to me as I've been testing a DB backed application that features a complex graph of related models.

One feature that would be very helpful is if I could pass an explicit parent into a factory create method. This would let me use a factory as both a subfactory in a chain of related factories and in isolation to create a new instance of a model to add to an existing chain of related models.

Let me know what you think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant