INNER CODE UNIT · Rust
Ok
graphql-rust/graphql-client · graphql_query_derive/src/lib.rs:90
if let Ok(normalization) = attributes::extract_normalization(input) {
options.set_normalization(normalization);
};
// The user can give a path to a module that provides definitions for the custom scalars.
if let Some(custom_scalars_module) = custom_scalars_module {
let custom_scalars_module = syn::parse_str(&custom_scalars_module)?;
options.set_custom_scalars_module(custom_scalars_module);
}
// The user can specify a list of enums types that are defined externally, rather than generated by this library
if let Some(extern_enums) = extern_enums {
options.set_extern_enums(extern_enums);
}
if let Some(custom_variable_types) = custom_variable_types {
options.set_custom_variable_types(custom_variable_types);