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

Support casting decimals #634

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Support casting decimals #634

merged 1 commit into from
Sep 11, 2024

Conversation

zorbash
Copy link
Contributor

@zorbash zorbash commented Sep 9, 2024

The idea is that an application which uses decimal for decimals can call OpenApiSpex.cast_value/3 directly without having to stringify any such decimals first. decimal is already an indirect optional dependency of open_api_spex and a very common one due to it being a dependency of ecto.

@zorbash zorbash merged commit fc79f1d into master Sep 11, 2024
8 checks passed
@zorbash zorbash deleted the cast-decimals branch September 11, 2024 18:00
nathanalderson pushed a commit to Tango-Tango/open_api_spex that referenced this pull request Dec 20, 2024
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