mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-15 01:55:13 +02:00
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:
parent
c5ea4875d5
commit
628ecf428a
6 changed files with 31 additions and 63 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue