ngneat/falso

uuid does not implement seed

leon opened this issue · 2 comments

leon commented

Is this a regression?

No

Description

When using randUuid is used uuid under the hood.
But it generates new values even if you have set a seed.

I think we could fix it by passing along a random parameter to the uuid function.
but it requires a InputBuffer with 16 bytes of random data.

I'm not sure how to best generate 16 bytes of random data based on the seedrandom library.

Any suggestions?

in that case I could create a PR.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Do you want to create a pull request?

Yes

@leon any news here?

leon commented

No sorry
I will not have the time to fix it.