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

Allow Options struct in to_string!/2 too and document it #127

Merged

Conversation

jeroenvisser101
Copy link
Contributor

@jeroenvisser101 jeroenvisser101 commented Jun 16, 2021

This PR is part of a series of PRs that aim to improve performance by allowing both %Cldr.Number.Format.Options{} structs to be passed as options in place of keyword lists, and to add support for %Cldr.Currency{} structs as alternative for currency codes.

elixir-cldr/cldr_currencies#4
elixir-cldr/cldr_numbers#18
#127 (this PR)

Support for precompiled option structs was added before, but not to the to_string!/2 function, and this PR aims to add this in both documentation and in typespecs.

@kipcole9
Copy link
Owner

Thanks for the PR, much appreciated and gratefully accepted. I have published ex_money 5.5.4 with the following changelog:

Bug Fixes

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