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
UniqueIndex seems to generate repeating values #48
Comments
You have a This is what causes the
If you want to control your own counter (or in this case move sequential across the array of values), you'll have to define and increment your own counter. Thanks, |
Hi, Wouldn't be possible to add to Bogus an, for example, UniqueLocalIndex (or any other name) that would be incremented only in each generation block? Or maybe a better way to integrate user created indexes in Fluent code of Bogus? Something like:
Using Bogus for quite sometime having a local index well integrated is really helpful. Thank You, |
Hello,
I am getting a strange behavior with UniqueIndex. I have the following:
I am getting four users with repeating names like: John, Mary, John, Mary ...
If I remove the line to generate the Client, e.g:
Then it seems I get the four different names ... Any idea why?
Thank You
The text was updated successfully, but these errors were encountered: