-
-
Notifications
You must be signed in to change notification settings - Fork 949
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
feat: return seed value from seed() #853
Conversation
Codecov Report
@@ Coverage Diff @@
## main #853 +/- ##
==========================================
- Coverage 99.41% 99.40% -0.01%
==========================================
Files 1959 1959
Lines 210917 211004 +87
Branches 907 908 +1
==========================================
+ Hits 209687 209756 +69
- Misses 1172 1190 +18
Partials 58 58
|
It was already documented that setting the seed resets the sequence: https://github.com/faker-js/faker#setting-a-randomness-seed |
@Shinigami92 have agreed to not agree on whether the initialSeed should be accessible. The other PR: #851 |
This needs a rebase. Could you please update it? |
Co-authored-by: ST-DDT <[email protected]>
c143e48
to
7ef6b2b
Compare
Via #851 we found out that it is not possible to access the initial seed⚠️
This is a huge bug in my opinion as that way it's not possible to rerun a script with that seed