Skip to content

Conversation

@mccormick-wooden
Copy link
Contributor

@mccormick-wooden mccormick-wooden commented Nov 19, 2024

Issue: #346

Float too imprecise for this field, and when serialized the value can materially change:

jshell> 147480.18f
$1 ==> 147480.19

We should at least change the type to Double, though I would prefer to change this field to BigDecimal - let me know if that is workable (not sure why floating point types were originally chosen for this and understand there may be constraints I'm not aware of).

Note I did not do any OpenApi generation because I couldn't get it to work correctly and I wasn't able to find any documentation. Even when using version 5.3.0, the changes it made by the generator were way beyond the scope of what I'm trying to do. If this is required, please let me know the proper way to do the generation.

@toadzky
Copy link

toadzky commented Feb 13, 2025

why did you close this? i just got bit by it as well

@hpelletier hpelletier reopened this Jul 1, 2025
@hpelletier hpelletier self-requested a review July 1, 2025 20:58
@hpelletier hpelletier merged commit 909df12 into lob:main Jul 1, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants