faker icon indicating copy to clipboard operation
faker copied to clipboard

Faker.Name.PtBr.first_name/0 is undefined

Open brunozrk opened this issue 5 years ago • 2 comments

Hello guys, after updating to version 0.14, Faker.Name.PtBr.first_name/0 is not working

I see that Faker.Name is deprecated in favour of Faker.Person.

But the changelog is not warning about that break change: Faker.Namer.{other langs} removed https://github.com/elixirs/faker/commit/0256548f9955136bdff9bd81b8acd8bb3f864e51#diff-3802f66f490ca4c5f190a8ac777ad20265cdb2cb626c2e665a8e9c8e174c30ddL1

Shouldn’t it be good to add it to the changelog? Or add back the modules with the deprecation warning like Faker.Name?

brunozrk avatar Oct 30 '20 12:10 brunozrk

I got kind the same error: image

mingyar avatar Jan 18 '23 02:01 mingyar

I've been able to handle it by doing:

Faker.start()

Before, every time I want to call a function from faker.

Important to mention that I working on a mix task, so I guess that my use case may be a little different then usual.

mingyar avatar Jan 18 '23 03:01 mingyar