You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question for a custom scalar converter and schema stitching. I want to stitch a schema from a thirdparty Server and from my own server.
But the other server uses Java and a "BigDecimal" Type.
And when I load the schema in "banana cake pop" or any other UI tool (postman, insomnia) I get the following error on the server:
"1. Unable to resolve type reference BigDecimal. (HotChocolate.Types.ObjectType)".
I have written my own Scalar (like so, or so) BigDecimal type and it is visible in the schema but it isn't used for the BigDecimal Scalar from the thirdparty server - no constructor is beeing called from the custom scalar.
Is there a way to allow or overwrite thirdparty Scalars so I can use them in .net ?
Is it even possoble to have custom types wich comes from other graphql services ? I couldn' find anything to it on the internet.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I have a question for a custom scalar converter and schema stitching. I want to stitch a schema from a thirdparty Server and from my own server.
But the other server uses Java and a "BigDecimal" Type.
And when I load the schema in "banana cake pop" or any other UI tool (postman, insomnia) I get the following error on the server:
BigDecimal
. (HotChocolate.Types.ObjectType)".I have written my own Scalar (like so, or so) BigDecimal type and it is visible in the schema but it isn't used for the BigDecimal Scalar from the thirdparty server - no constructor is beeing called from the custom scalar.
Is there a way to allow or overwrite thirdparty Scalars so I can use them in .net ?
Is it even possoble to have custom types wich comes from other graphql services ? I couldn' find anything to it on the internet.
Thanks and Best Regards in advance 🙂
Beta Was this translation helpful? Give feedback.
All reactions