How to generate real types, instead of input: any; output: any
for custom scalars?
#10025
Replies: 3 comments
-
I think I solved it:
The question is how to |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://the-guild.dev/graphql/codegen/plugins/presets/import-types-preset |
Beta Was this translation helpful? Give feedback.
0 replies
-
The answer @graphql-codegen/add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found that, except for built-in scalars, all other scalars are mapped to
input: any; output: any
. I can modify them manually, but it will be overwritten if I regenerate it.Beta Was this translation helpful? Give feedback.
All reactions