From 57ed42c1899d3db09fc24e15a167885176905888 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Mon, 29 Apr 2024 22:26:28 +0800 Subject: [PATCH] Fix MySQL example --- examples/mysql/src/query_root.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mysql/src/query_root.rs b/examples/mysql/src/query_root.rs index 03fb2aad..d63af4dd 100644 --- a/examples/mysql/src/query_root.rs +++ b/examples/mysql/src/query_root.rs @@ -10,7 +10,7 @@ pub fn schema( depth: Option, complexity: Option, ) -> Result { - let mut builder = Builder::new(&CONTEXT); + let mut builder = Builder::new(&CONTEXT, database.clone()); seaography::register_entities!( builder, [