with scalars

This commit is contained in:
2023-01-29 13:29:11 +01:00
parent 3263f1d589
commit 0d6e6e57ae
6 changed files with 141 additions and 7 deletions

View File

@@ -9,6 +9,8 @@ mod tests {
use crate::codegen::CodeGeneration;
use pretty_assertions::assert_eq;
#[test]
fn can_generate_from_schema() {
let schema: IntrospectionResponse = serde_json::from_str(INTROSPECTION_QUERY).unwrap();