You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
TonyMasse
changed the title
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
Dec 12, 2020
TonyMasse
added a commit
to TonyMasse/vue-diagrams
that referenced
this issue
Dec 12, 2020
Moreover, having the same function defined in several files was making changes potentially difficult.
This function should be defined in one place, and imported from where it's needed.
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.
Closegwenaelp#14
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: