-
Notifications
You must be signed in to change notification settings - Fork 64
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
generateId
produces very weak IDs. Needs to be replaced by something much more unique and safe
#14
Comments
TonyMasse
changed the title
Dec 12, 2020
generateId
produces very weak IDs. Need replaced by something much more unique and safegenerateId
produces very weak IDs. Needs to be replaced by something much more unique and safe
TonyMasse
added a commit
to TonyMasse/vue-diagrams
that referenced
this issue
Dec 12, 2020
This is the replace the much simpler but prone to problem simple (and small) random Integer generation. Close gwenaelp#14
Moreover, having the same function defined in several files was making changes potentially difficult. |
This was referenced Dec 12, 2020
TonyMasse
added a commit
to TonyMasse/vue-diagrams
that referenced
this issue
Dec 13, 2020
This is the replace the much simpler but prone to problem simple (and small) random Integer generation. And moved the function to its own `/utils/Identifier.js` file for ease of maintenance. Close gwenaelp#14
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm proposing to use UUID instead of simple small Integer, as this the current solution is very prone to collision.
The text was updated successfully, but these errors were encountered: