omnigraph/crates/omnigraph-config
Ragnor Comerford 046230be6b
feat(config): eager per-layer path resolution at load
Add resolve_all_paths_in_place, run at the end of load_single_layer (after
normalize_graphs fills entry.uri), rewriting every relative path/URI field —
graph uris, per-graph + top-level policy/queries files, serve.policy, auth.env_file,
query.roots — to absolute against that layer's base_dir. A scheme URI passes
through. This makes a layer self-contained so the upcoming merge composes
absolute-only configs and never mis-resolves a path against the wrong layer's dir.
Factor the join logic into resolve_uri_against/resolve_path_against, reused by the
existing resolve_config_* methods. Behavior-preserving: the per-field resolvers
pass already-absolute values through to the same result.
2026-06-05 11:14:50 +02:00
..
src feat(config): eager per-layer path resolution at load 2026-06-05 11:14:50 +02:00
Cargo.toml refactor(config): extract load_single_layer; add Layer/Provenance + dirs 2026-06-05 11:08:09 +02:00