Kiana Sheibani
dd4f0838ab
Somehow I missed that this was a thing you could do? It's a much cleaner organization, and it makes it so that you don't have to explicitly specify the crate to build.
8 lines
161 B
Rust
8 lines
161 B
Rust
fn main() {
|
|
cynic_codegen::register_schema("startgg")
|
|
.from_sdl_file("startgg.graphql")
|
|
.unwrap()
|
|
.as_default()
|
|
.unwrap();
|
|
}
|