Skip to content

Commit

Permalink
Fix MySQL example
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Apr 29, 2024
1 parent a1148a8 commit 57ed42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mysql/src/query_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn schema(
depth: Option<usize>,
complexity: Option<usize>,
) -> Result<Schema, SchemaError> {
let mut builder = Builder::new(&CONTEXT);
let mut builder = Builder::new(&CONTEXT, database.clone());
seaography::register_entities!(
builder,
[
Expand Down

0 comments on commit 57ed42c

Please sign in to comment.