Skip to content

Float type as BigDecimal instead of double in dto.java #1326

Answered by pbocek
pbocek asked this question in Q&A
Discussion options

You must be logged in to vote

I solved it, didn't know that I have to specify the types for both Float and Float!. Unfortunately this is not possible in the xml pom, so I had to extract the configuration into json and add these custom types:
"Float": "java.math.BigDecimal", "Float!": "java.math.BigDecimal",

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pbocek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant