-
The generated dtos are mapping graphql float as double in pojo, is it possible to change this behaviour in configuration to use BigDecimal instead? I tried using the EDIT: it works fine if I define it for specific objects, eg.: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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: |
Beta Was this translation helpful? Give feedback.
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",