omnigraph/crates/omnigraph-cli
Ragnor Comerford 98831d4fa9
Validate the graph selection in queries list
Graph-existence validation was a side effect of URI resolution: every
URI-resolving command rejects an unknown --target via resolve_target_uri, but
queries list opens no URI, so query_entries_for(Some(unknown)) silently fell
back to the top-level registry and showed the wrong (or empty) catalog.

Make membership a property of the selection: add the fallible
resolve_graph_selection alongside the infallible query_entries_for (a known
name passes through, an unknown name errors with the same message as
resolve_target_uri, None stays anonymous), and validate the selection in
execute_queries_list. query_entries_for is unchanged — server boot's bare-URI
path still needs its None -> top-level arm.
2026-06-01 11:45:44 +02:00
..
src Validate the graph selection in queries list 2026-06-01 11:45:44 +02:00
tests Test: queries list must reject an unknown --target 2026-06-01 11:45:44 +02:00
Cargo.toml Rename repo terminology to graph (#118) 2026-05-24 16:46:00 +01:00