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

Add Muslim Names Feature Request #1046

Closed
ZahidFKhan opened this issue Dec 23, 2023 · 3 comments
Closed

Add Muslim Names Feature Request #1046

ZahidFKhan opened this issue Dec 23, 2023 · 3 comments

Comments

@ZahidFKhan
Copy link

Hi Team,

I am working on a Project where I am interested in the Muslim names only like Muslim first name, last name etc.

It would be great if we could fake names based on the religion only.

        Faker faker = new Faker();

        String name = faker.name().muslim().fullName(); // Miss Ayman Khan
        String firstName = faker.name().muslim().firstName(); // Maryam
        String lastName = faker.name().muslim().lastName(); // Ibrahim
@bodiam
Copy link
Contributor

bodiam commented Dec 23, 2023

Have you looked into creating your own custom faker? This looks like a great usecase for that.

https://www.datafaker.net/documentation/custom-providers/

@ZahidFKhan
Copy link
Author

Hi @bodiam
The said custom-providers can be worked around for me, and I can make it work. However, I want to make a contribution to the library regarding the same.

@bodiam
Copy link
Contributor

bodiam commented Feb 5, 2024

No problem, PRs always welcome. Feel free to send one!

@bodiam bodiam closed this as completed Feb 5, 2024
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

2 participants