Don't generate Scalars and Maybe for typescript #5051
-
Given a GraphQL definition of:
codegen outputs:
=================== Anyone knows if there is a way to make it output the below, thanks.
|
Beta Was this translation helpful? Give feedback.
Answered by
dotansimha
Nov 16, 2020
Replies: 1 comment 9 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
dotansimha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
preResolveTypes: true
. It removes some of that, but not all. We hope to improve that in the future!