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

"name" returns null #1

Open
yan-hic opened this issue Nov 16, 2020 · 3 comments
Open

"name" returns null #1

yan-hic opened this issue Nov 16, 2020 · 3 comments

Comments

@yan-hic
Copy link

yan-hic commented Nov 16, 2020

Just noticed a "typo" in readme - in case someone uses it as-is:
this.val = f.name.findName();

should read
this.name = f.name.findName();

@pdunn
Copy link
Owner

pdunn commented Nov 19, 2020 via email

@yan-hic
Copy link
Author

yan-hic commented Nov 19, 2020

Thanks - on that note (updating medium post), what's your take on https://github.com/Marak/faker.js/issues/499#issuecomment-729087078 ?
I had noticed you used an earlier faker version probably so that it fits within the 1MB limit as packaging a more recent release includes all locales. Hacking the core lib is the only way I found to include some locales only (updating index.js or deleting locales).
The require() statement in your index.ts only limits what gets loaded in mem, not what goes in the webpack.
Thoughts ?

@pdunn
Copy link
Owner

pdunn commented Nov 20, 2020 via email

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