omnigraph/crates/omnigraph-cli/src
Ragnor Comerford b47e3bbc70
Route registry selection through one shared query_entries_for
The "which queries: block applies for graph X" rule existed twice — the
server boot path and the CLI's registry_entries — and had already drifted:
the CLI carried an unreachable unwrap_or_else fallback the server lacked.

Add OmnigraphConfig::query_entries_for(graph: Option<&str>) as the single
definition (named graph -> its per-graph block; otherwise top-level) and
route all three sites through it: server single mode, server multi-graph
loop, and the CLI. The CLI's dead fallback arm is deleted; CLI and server
now resolve identically by construction.

No behavior change. Extends the config round-trip test to pin the selector,
including the unknown-name -> top-level fallback the deleted CLI arm covered.
2026-05-30 21:53:07 +02:00
..
embed.rs Initial public Omnigraph repository 2026-04-10 20:49:41 +03:00
main.rs Route registry selection through one shared query_entries_for 2026-05-30 21:53:07 +02:00
read_format.rs Initial public Omnigraph repository 2026-04-10 20:49:41 +03:00