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

FixturenatorDefinition with a callable valueGenerator should be lazy-eval'd #1

Open
apinstein opened this issue Sep 10, 2010 · 0 comments

Comments

@apinstein
Copy link
Owner

Right now if you pass a lambda to a definition it's eval'd only once, which means that each "new" instance generated will share the same data from the original execution time.

This should be refactored to lazy-evaluate.

Also, we should pass in not only the "new" object, but also the overrideData (from resolveData).

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