(&self, ctx: &Context<'_>, id: String)
| 76 | } |
| 77 | |
| 78 | async fn topic(&self, ctx: &Context<'_>, id: String) -> Result<Option<Topic>> { |
| 79 | Ok(ctx |
| 80 | .data_unchecked::<Store>() |
| 81 | .fetch_topic(id.try_into()?) |
| 82 | .await? |
| 83 | .map(Topic::from)) |
| 84 | } |
| 85 | |
| 86 | async fn topic_live_search( |
| 87 | &self, |
nothing calls this directly
no test coverage detected