I have some custom scalars I got from the Urigo/graphql-scalars library. These scalars, by default, have unknown typing as their input and output value when using the SDK generated by graphql-zeus.
The docs mention that I can define the typings via the ZeusScalars. And so I used them, but only the typing of the output value (the 'GraphQLTypes') has changed according to the return value of the decode function. encode's function parameter typing is not changing ValueTypes so the typing of the input values is still unknown.
How am I supposed to define the typings of ValueTypes?
I have some custom scalars I got from the Urigo/graphql-scalars library. These scalars, by default, have
unknown
typing as their input and output value when using the SDK generated by graphql-zeus.The docs mention that I can define the typings via the
ZeusScalars
. And so I used them, but only the typing of the output value (the 'GraphQLTypes') has changed according to the return value of thedecode
function.encode
's function parameter typing is not changingValueTypes
so the typing of the input values is still unknown.How am I supposed to define the typings of
ValueTypes
?