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

Field ordering during before randomization process #508

Open
ivicelig opened this issue Sep 13, 2023 · 0 comments
Open

Field ordering during before randomization process #508

ivicelig opened this issue Sep 13, 2023 · 0 comments

Comments

@ivicelig
Copy link

Hi,

I was wondering if there is possibility of implementation for some kind of ordering functionality of fields before they get populated (after retrieval of declared and inherited fields). My problem is that I have object, and that object has two fields (Country and City). When I get random country I would like to create randomizer which would based on country select random city from that country.
If I fetch current object from ContextAwareRandomizer I can't be sure that country has already been filled in, so that's why I would like to set some ordering to fields to make sure country is populated first.

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