Skip to content

Commit

Permalink
docs: fix definition names in 'Company Name Affix files reorganized' …
Browse files Browse the repository at this point in the history
…section of migration guide
  • Loading branch information
matthewmayer committed Sep 21, 2024
1 parent dfbf6c4 commit a225054
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/guide/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ We renamed the files to match their actual content instead of their hypothetical
If you are using the public methods, no changes are required.
You only need to change your code if you are accessing the raw definitions e.g. in `faker.helpers.fake()`.

| Before | After |
| ------------------------- | -------------------------------------- |
| `location.company.prefix` | `location.company.category` |
| `location.company.suffix` | `location.direction.legal_entity_type` |
| Before | After |
| ---------------- | --------------------------- |
| `company.prefix` | `company.category` |
| `company.suffix` | `company.legal_entity_type` |

::: info Note
In some locales `prefix`es and `suffix`es might have been swapped, so the mapping might be wrong for those.
Expand Down

0 comments on commit a225054

Please sign in to comment.