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
Is your feature request related to a problem? Please describe.
Currently, it's hard to choose the right type for clients of servers that use graphql-scalars resolvers.
Here's the general process:
Check the return type of a serialize function in an arbitrary scalar
Set the type in clients (or tools like GraphQL Codegen)
Describe the solution you'd like
A separate package (published from this repo) that has the expected type of scalars that clients would receive. Example name: @graphql-scalars/client-types
Then, tools like GraphQL Codegen can simply do something like this:
Is your feature request related to a problem? Please describe.
Currently, it's hard to choose the right type for clients of servers that use
graphql-scalars
resolvers.Here's the general process:
serialize
function in an arbitrary scalarDescribe the solution you'd like
A separate package (published from this repo) that has the expected type of scalars that clients would receive. Example name:
@graphql-scalars/client-types
Then, tools like GraphQL Codegen can simply do something like this:
The text was updated successfully, but these errors were encountered: