From 74b778b30cbf1e0d4f96f7a68149da4f8d2783fe Mon Sep 17 00:00:00 2001 From: rodrigolece Date: Thu, 14 May 2026 11:41:46 -0600 Subject: [PATCH] Making the get_graph method public --- raphtory-graphql/src/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raphtory-graphql/src/data.rs b/raphtory-graphql/src/data.rs index 989a706eaf..ef7667bc0d 100644 --- a/raphtory-graphql/src/data.rs +++ b/raphtory-graphql/src/data.rs @@ -232,7 +232,7 @@ impl Data { /// # ⚠ Bypasses all permission checks — do not call from resolvers directly. /// Use `get_graph_with_read_permission`, `get_raw_graph_with_read_permission`, or /// `get_graph_with_write_permission` instead. - async fn get_graph(&self, path: &str) -> Result> { + pub async fn get_graph(&self, path: &str) -> Result> { self.cache .try_get_with(path.into(), self.read_graph_from_disk(path)) .await