How to create a Graphql object from a struct

Hi,
I have a struct with option and I want to convert it in a GraphQL object

How can I do as the GraphQLObject derive is not working due to BigDecimal in my struct
Thank you in advance

What library are you using?

The general solution is to have a scalar that is a newtype around BigDecimal.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.