omnigraph/crates/omnigraph-config
Ragnor Comerford b5690d5d8e
feat(config): typed GraphLocator, servers map, resolve_graph (RFC-002 §1/§2)
Add the typed graph schema behind the version gate: per-graph storage: (string or block) XOR server:+graph_id:, a servers: map, and resolve_graph -> typed GraphLocator (local alias -> srv/gid qualified -> cli.graph default). uri stays a defaulted String filled by normalize_graphs from storage/server, so all existing .uri readers are unchanged and this commit is config-only (server reject-Remote is L5). deny_unknown_fields rejects typos; Storage has a hand-rolled string-or-block Deserialize for precise unknown-field errors. region/endpoint parsed but not yet engine-threaded (V2); GraphLocator.graph_id carried but unused on the wire until V2. 26 config tests pass; cargo test --workspace --locked green (per review).
2026-06-03 15:48:06 +02:00
..
src feat(config): typed GraphLocator, servers map, resolve_graph (RFC-002 §1/§2) 2026-06-03 15:48:06 +02:00
Cargo.toml refactor: extract omnigraph-config crate from omnigraph-server 2026-06-02 23:49:40 +02:00