Skip to content

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

Open
@Vectarian-Jorge

Description

@Vectarian-Jorge

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions