Crate graphql_client_codegen

Source
Expand description

Crate for Rust code generation from a GraphQL query, schema, and options.

Modules§

deprecation
Deprecation-related code
normalization
Normalization-related code
schema
Contains the [Schema] type and its implementation.

Structs§

GraphQLClientCodegenOptions
Used to configure code generation.

Enums§

CodegenMode
Which context is this code generation effort taking place.

Functions§

generate_module_token_stream
Generates Rust code given a path to a query file, a path to a schema file, and options.
generate_module_token_stream_from_string
Generates Rust code given a query string, a path to a schema file, and options.