diff --git a/docs/book/content/types/objects/using_contexts.md b/docs/book/content/types/objects/using_contexts.md index b3667899..1b65771c 100644 --- a/docs/book/content/types/objects/using_contexts.md +++ b/docs/book/content/types/objects/using_contexts.md @@ -101,6 +101,8 @@ For example, when using async runtime with [work stealing][2] (like `tokio`), wh # use juniper::graphql_object; use tokio::sync::RwLock; +impl juniper::Context for Database {} + struct Database { requested_count: HashMap, }