[Documentation] Improve clarity on TypedDocumentNode
in the "Using TypeScript" doc
#12007
Labels
TypedDocumentNode
in the "Using TypeScript" doc
#12007
Link: https://www.apollographql.com/docs/react/development-testing/static-typing/#using-typeddocumentnode
This section is last in the doc and starts with the phrase:
The sections before it describe usage with the generated
gql
function created by graphql-codegen, so this statement makes it seem likeTypedDocumentNode
with the manual typing is something that should be used instead of the generatedgql
function. If anything, we should consider reversing the sections and start with the manual typing approach followed by graphql codegen to show how types can be improved by automatically generating them.The text was updated successfully, but these errors were encountered: