-
Notifications
You must be signed in to change notification settings - Fork 147
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
Set foreign keys on children from associated parents when building #479
Comments
This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to prioritize it yet. |
@mattwynne if you wouldn't mind opening a PR I'd be glad to look at the solution and discuss getting it into the repo if it makes sense! |
This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to prioritize it yet. |
Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to re-open the issue. Thank you! |
We're working in a context where we are creating associated records in our factories, and we set the parent record's ID as we build them.
e.g.
We have noticed that when we use
Factory.insert
,wheel.car_id
is set. We would like that same behaviour frombuild
.We've got a patch for this locally in our codebase, would it be useful to submit as a PR?
The text was updated successfully, but these errors were encountered: