Function register_schema

Source
pub fn register_schema(name: &str) -> SchemaRegistrationBuilder<'_>
Expand description

Registers a schema with cynic-codegen with the given name

This will prepare the schema for use and write intermediate files into the current crates target directory. You can then refer to the schema by name when working with cynics macros.

This is designed to be called from build.rs