Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZeusScalars do not change the typing of ValueTypes like they do with GraphQLTypes #392

Open
Vectarian-Jorge opened this issue Feb 19, 2024 · 1 comment

Comments

@Vectarian-Jorge
Copy link

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?

@Vectarian-Jorge
Copy link
Author

Something similar was asked in the issue #170, but got no response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant