mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
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. |
||
|---|---|---|
| .. | ||
| omnigraph | ||
| omnigraph-api-types | ||
| omnigraph-cli | ||
| omnigraph-compiler | ||
| omnigraph-config | ||
| omnigraph-policy | ||
| omnigraph-queries | ||
| omnigraph-server | ||