Skip to content

Names from Senegal West Africa#3

Open
PapePathe wants to merge 1 commit intojonwingfield:masterfrom
PapePathe:master
Open

Names from Senegal West Africa#3
PapePathe wants to merge 1 commit intojonwingfield:masterfrom
PapePathe:master

Conversation

@PapePathe
Copy link

No description provided.

*  Added generic extension method Contains in Array to chech if an object is included in an array
@jonwingfield
Copy link
Owner

Thanks for this pull request! I'll review it and merge shortly

@PapePathe
Copy link
Author

Ok i'll be happy. I'm also a contributor in the ruby version. .Net addicted i could not miss this.

@jonwingfield
Copy link
Owner

Ok, so I've been thinking about this a bit more. How would you feel about something like this:

    Faker.Country = Countries.SN
    Name.LastName // => Biagui

As opposed to having a different class for each country?

I was looking at how ffaker does it in ruby, and they appear to have taken your approach, which would keep it more consistent. However, doing something like the above would really cut down on the amount of code that is needed.

@PapePathe
Copy link
Author

+1 for that.
I was thinking about this issue but didnt find a solution.
Sorry for the late answer.

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

Successfully merging this pull request may close these issues.

2 participants