Matt Mayer

Results 215 comments of Matt Mayer

I don't think this should require an el locale. Greek letters are often used when a neutral name is needed (eg think of covid variants)

The current behavior is to fallback to the fallback locale ie English en which is defined for nearly everything. In which cases would we want to explicitly throw an error?

Ok so this this mostly a internal issue For most consumers of the library nothing much changes unless you are explicitly not falling back to en (which requires a non-default...

I've been thinking about this, and perhaps this could be an explicit option on the Faker instance, because in some cases you might want an error, and in some cases...

> **Team Decision** > > > > > fakerXX.throwsErrorOnMissingData = true > > > > While this is an interesting feature, it is not possible to implement this in a...

```js const {faker} = require("@faker-js/faker") console.log(faker.helpers.arrayElement(faker.rawDefinitions.person.first_name.filter(a => a.length == 6))) ``` or ```js const {faker} = require("@faker-js/faker") let name do { name = faker.person.firstName() } while (name.length != 6) console.log(name)...

Which version of gh is required for this to work? I upgraded to the latest `2.21.2` but it doesnt seem to work.

I think some of the confusion is that on the surface, fakerBASE only appears to contain quite obscure data like `faker.database.collation` and `faker.color.space`. You are saying that the value in...

Changed the title to reflect improving the documentation better instead. One thing I've been thinking is that it's hard looking at the docs to tell which methods are reliant on...

I think the main advantage is it could be used in helpers.fake patterns for other methods.