Skip to content
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

Remove unmaintained elixir_uuid dependency #253

Merged
merged 2 commits into from
Aug 5, 2022

Conversation

dvic
Copy link
Contributor

@dvic dvic commented Aug 3, 2022

The elixir_uuid dependency is unmaintained for a while now and it gives compile warnings with recent Elixir versions. I've basically replaced it with a vendored implementation borrowed from Ecto.

@dvic
Copy link
Contributor Author

dvic commented Aug 3, 2022

Oh and I bumped Elixir to 1.10 to get rid of the warning of using get_env inside a module body (instead of compile_env).

@slashdotdash
Copy link
Member

Thanks for the pull request @dvic. The UUID library has also caused a lot of debate in the Commanded library. I’m ok with copying an implementation and having it referenced internally. It would be a smaller change to add an alias to the modules that use the UUID module rather, than prefixing each usage. Does that make sense?

@dvic dvic force-pushed the remove-uuid-dep branch from 9094598 to e3da6d2 Compare August 3, 2022 08:50
@dvic
Copy link
Contributor Author

dvic commented Aug 3, 2022

Done :) I also renamed the function to match the old API.

@slashdotdash slashdotdash merged commit cf001a1 into commanded:master Aug 5, 2022
@slashdotdash
Copy link
Member

Thanks for the pull request Damir.

slashdotdash added a commit that referenced this pull request Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants