Typed Document Node
Zeus can generate builders for TypedDocumentNode
, a type-safe query representation understood by most GraphQL clients (including Apollo, URQL etc) by adding the --typedDocumentNode
or --td
flag to the CLI.
Generate Type-Safe Zeus Schema And TypedDocumentNode query builders
TypedDocumentNode + Apollo Client useMutation examples
The following example demonstrates usage with Apollo. Other clients should work similarly.
Last updated