Skip to content

Commit 6e29ec4

Browse files
committed
update info about enforce-unique
1 parent 7a1cc4b commit 6e29ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/upgrading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ const city = enforcer.enforce(faker.location.city, {
346346
```
347347

348348
::: tip Note
349-
`enforce-unique` does not support the `store` option. If you were previously using this, you may wish to build your own unique logic instead.
349+
`enforce-unique` does not directly support the `store` option previously available in `faker.helpers.unique`. If you were previously using this parameter, check the [documentation](https://www.npmjs.com/package/enforce-unique). If you need to reset the store, you can call the `reset()` method on the `UniqueEnforcer` instance.
350350
:::
351351

352352
### Image Module

0 commit comments

Comments
 (0)