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, [