Skip to content

Commit

Permalink
Update upgrading.md
Browse files Browse the repository at this point in the history
Co-authored-by: DivisionByZero <[email protected]>
  • Loading branch information
matthewmayer and xDivisionByZerox authored Jun 12, 2024
1 parent f4aef77 commit 5ac8ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ Removed deprecated location methods
#### Direction definitions reorganized

The locale definitions used by `faker.location.direction()`, `faker.location.cardinalDirection()` and `faker.location.ordinalDirection()` have been reorganized.
Previously, they were organized under `definitions.location.direction` and `definitions.location.direction_abbr` and where values were required to be in a specific order.
Previously, they were located under `definitions.location.direction` and `definitions.location.direction_abbr` and their values were required to be in a specific order.
Now, all values are nested under `definitions.location.direction` with descriptive property names.
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()`.
Expand Down

0 comments on commit 5ac8ec9

Please sign in to comment.