From 5b3c996774981d2f990fb3a25bad5533131cc1c1 Mon Sep 17 00:00:00 2001 From: dyoshikawa <34151621+dyoshikawa@users.noreply.github.com> Date: Thu, 18 Jun 2020 07:33:01 +0900 Subject: [PATCH] Fix function name that camel to snake (#332) --- juniper/src/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper/src/schema.rs b/juniper/src/schema.rs index 889ae954..cbec1398 100644 --- a/juniper/src/schema.rs +++ b/juniper/src/schema.rs @@ -45,7 +45,7 @@ pub struct MutationRoot; #[juniper::object] impl MutationRoot { - fn createHuman(new_human: NewHuman) -> FieldResult { + fn create_human(new_human: NewHuman) -> FieldResult { Ok(Human { id: "1234".to_owned(), name: new_human.name,