-
Notifications
You must be signed in to change notification settings - Fork 550
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
Replace satori uuid #330
Comments
I'm very much in favor of moving away from that library. I'll check it out as soon as I can and it'll be done before v3 is finalized if that library is better. |
Cool, good to hear. I've been digging around most of the day trying to figure out a good solution for this problem. We are choosing to migrate away from Research suggests that some good alternatives would be:
EDIT: Upon a great deal of evaluation, the Hope the update noise hasn't been annoying and the post is helpful |
No its super helpful. Though I'm curious what you mean about compete with sqlboiler, seems like a lot of work to create your own data access mechanism over a uuid library :p Will be looking into godsa when I can. |
Sorry, should elaborate. We had locked to 1.2.0 of |
I noticed immediately that the godsa library is way broader than necessary. Quite a large dependency. I'm actually considering taking their uuid v4 and extracting it to another library so we don't have to deal with the rest of it. Thoughts? |
That's actually a really good point that I didn't consider. The identifier subpackage is self contained and has no other dependencies to anything in the EDIT: Also it'd insulate you from having to deal with this sort of thing in the future 🙃 |
Just as an FYI after stumbling on this issue, there's a community maintained fork of satori UUID: https://github.com/gofrs/uuid It should be a drop-in replacement without the problems and inactivity of the original. |
Thanks for that package @jakebailey. Made this change easy. |
What version of SQLBoiler are you using (
sqlboiler --version
)?v2.7.3
Further information. What did you do, what did you expect?
As I think you guys are probably aware given the conversation on #236, the maintainer of
satori/uuid
has been unresponsive for the last 5 months and has not been doing basic paperwork, like tagging the repo, to allow insulation from backwards incompatible changes. Because we use (and are fond of :)) this tool, we are now forced to upgradesatori/uuid
, which is advice that has been passed to users recently #275Unfortunately this advice is irresponsible, because
satori/uuid
has a critical defect where it doesn't generate random UUIDV4s. satori/go.uuid#73It would be greatly appreciated if you guys either:
satori/uuid
, perhaps a fork that fixes this issue or an alternative like https://github.com/pborman/uuid (which is used in kubernetes)satori/uuid
in the repo at least temporarily untilvgo
is mature (the reluctance to use dep is understood)Thanks for your consideration
The text was updated successfully, but these errors were encountered: