-
Notifications
You must be signed in to change notification settings - Fork 5
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
enhancement: mock different values based on other fields #135
Labels
enhancement 🎉
New feature or request
Comments
Also, if i use
|
Got you! Thanks a lot, @arthurfiorette. Don't be sorry, it's our job to make improve this library over time :) |
Can you open a new issue with the full steps to reproduce? |
omermorad
changed the title
Mock different values based on other fields
enhancement: mock different values based on other fields
Jan 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry for opening another issue. But i need to generate a different values depending on another fields, example:
So, it would be cool if i could write something like that:
Where data is what is already generated, like
isActive
(Probably depends on execution / field order) because it was declared first.Also, if it is possible, you also could add the hability to return promises.
Thanks for making this amazing library!
The text was updated successfully, but these errors were encountered: