Deprecate company.name index parameter #1178
Labels
c: refactor
PR that affects the runtime behavior, but doesn't add new features or fixes bugs
good first issue
Good for newcomers
m: company
Something is referring to the company module
p: 1-normal
Nothing urgent
s: accepted
Accepted feature / Confirmed bug
Milestone
Clear and concise description of the problem
faker/src/modules/company/index.ts
Line 36 in fbddaa3
Using an index parameter is equal to using a fixed pattern, any changes on our side to the patterns would potentially break client code.
Suggested solution
The parameter should be deprecated for removal. Users should either hardcode the pattern themselves or use a random pattern.
Alternative
No response
Additional context
The method is being renamed in #1166.
The text was updated successfully, but these errors were encountered: