diff --git a/src/graphql.rs b/src/graphql.rs index 4c62f86..ae28681 100644 --- a/src/graphql.rs +++ b/src/graphql.rs @@ -12,7 +12,10 @@ pub struct Query; #[juniper::graphql_object(Context = Database)] impl Query { - #[graphql(name = "allLanguages")] + #[graphql( + name = "allLanguages", + description = "Retrieve all languages defined in the database" + )] fn all_languages(context: &Database) -> Vec { context.all_languages().unwrap() }