Change "scheme" to "schema"

Apparently I misread the GraphQL docs...
This commit is contained in:
Kiana Sheibani 2023-08-26 16:25:11 -04:00
parent 5011514a27
commit 298a8a5653
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
5 changed files with 5 additions and 5 deletions

12
schema/Cargo.toml Normal file
View file

@ -0,0 +1,12 @@
[package]
name = "schema"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cynic = "3.2"
[build-dependencies]
cynic-codegen = "3.2"

14
schema/src/lib.rs Normal file
View file

@ -0,0 +1,14 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}