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

Help / Feature request: Gender #22

Open
mattdell opened this issue Apr 8, 2017 · 0 comments
Open

Help / Feature request: Gender #22

mattdell opened this issue Apr 8, 2017 · 0 comments

Comments

@mattdell
Copy link

mattdell commented Apr 8, 2017

Hello,

How could I best approach including gender in my mock data? Taking that a step further, how could I include mock data of male names and female names?

I see how I can mock data at a single level (e.g. - firstNames = ['Tom', 'Dick', 'Harry']) but I'd want to have more of an array of objects

people = [{ firstName: Tom, gender: male }, { firstName: Dick, gender: male }, { firstName: Harry, gender: male }, { firstName: Sally, gender: female }, ]

Then I could couple those names and genders together. Thoughts?

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