|
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.: |
Answered by
pbocek
Sep 11, 2023
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: |
0 replies
Answer selected by
pbocek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to 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:
"Float": "java.math.BigDecimal", "Float!": "java.math.BigDecimal",