This commit is contained in:
jsus 2021-09-24 14:41:58 +03:00 committed by Christian Legnitto
parent 13fc0dadeb
commit 7818173c86

View file

@ -107,7 +107,7 @@ struct Database {
// Since we cannot directly implement juniper::Context // Since we cannot directly implement juniper::Context
// for RwLock we use the newtype idiom // for RwLock we use the newtype idiom
struct DatabaseContext(RwLock<Database>) struct DatabaseContext(RwLock<Database>);
impl juniper::Context for DatabaseContext {} impl juniper::Context for DatabaseContext {}