(
&self,
ctx: &Context<'_>,
after: Option<String>,
before: Option<String>,
first: Option<i32>,
last: Option<i32>,
)
| 109 | } |
| 110 | |
| 111 | async fn parent_topics( |
| 112 | &self, |
| 113 | ctx: &Context<'_>, |
| 114 | after: Option<String>, |
| 115 | before: Option<String>, |
| 116 | first: Option<i32>, |
| 117 | last: Option<i32>, |
| 118 | ) -> Result<TopicConnection> { |
| 119 | let topics = ctx |
| 120 | .data_unchecked::<Store>() |
| 121 | .fetch_topics(self.0.parent_topic_ids(), 50) |
| 122 | .await?; |
| 123 | relay::topics(after, before, first, last, topics).await |
| 124 | } |
| 125 | |
| 126 | async fn repo(&self, ctx: &Context<'_>) -> Result<Repository> { |
| 127 | match ctx |
nothing calls this directly
no test coverage detected