Basic schema import code
This commit is contained in:
parent
4dc2975d03
commit
654efe2b6f
3 changed files with 2575 additions and 13 deletions
7
schema/build.rs
Normal file
7
schema/build.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fn main() {
|
||||
cynic_codegen::register_schema("startgg")
|
||||
.from_sdl_file("src/startgg.graphql")
|
||||
.unwrap()
|
||||
.as_default()
|
||||
.unwrap();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue