refactor: extract omnigraph-queries crate from omnigraph-server

Move queries.rs (stored-query registry + validation) into omnigraph-queries (deps: omnigraph-config, omnigraph-compiler; no serde). Repoint crate::config -> omnigraph_config. The two catalog-projection tests (which exercise api::query_catalog_entry) are removed here and relocated to omnigraph-api-types in the next commit, where that function lives. Server aliases via 'pub use omnigraph_queries as queries;'. 16 queries tests pass; server+cli compile. No behavior change.
This commit is contained in:
Ragnor Comerford 2026-06-03 10:40:43 +02:00
parent c5ea4875d5
commit 628ecf428a
No known key found for this signature in database
6 changed files with 31 additions and 63 deletions

10
Cargo.lock generated
View file

@ -4649,6 +4649,15 @@ dependencies = [
"tempfile",
]
[[package]]
name = "omnigraph-queries"
version = "0.6.1"
dependencies = [
"omnigraph-compiler",
"omnigraph-config",
"tempfile",
]
[[package]]
name = "omnigraph-server"
version = "0.6.1"
@ -4668,6 +4677,7 @@ dependencies = [
"omnigraph-config",
"omnigraph-engine",
"omnigraph-policy",
"omnigraph-queries",
"regex",
"serde",
"serde_json",