rom-rb / rom-factory

Data generator with support for persistence backends
MIT License
83 stars 42 forks source link

[WIP] Only call schema values if a replacement hasn’t already been provided #7

Closed timriley closed 7 years ago

timriley commented 7 years ago

This fixes an issue where a factory would generate its associations even if we explicitly provide values for them.

Pushed up a little fix to get an app of mine working, will follow up with a spec of some kind soon.

solnic commented 7 years ago

I fixed it in rom-4 branch, which I'll merge to master in a couple days, so I'm gonna close this one. Sorry about this Tim.

timriley commented 7 years ago

@solnic ah, thanks for fixing it! I'm sorry I never got around to finalising this PR 😬