omnigraph/crates/omnigraph-server
Ragnor Comerford 304ac5ec23
refactor(config,cli,server): rename the server: config block to serve:
Introduces the `serve:` host-role block in its RFC-002 shape — `graphs:` is a
served-set list, replacing the single `server.graph` scalar. The legacy
`server:` block is folded into `serve:` under the legacy schema and rejected
under `version: 1` (pointing at the new spelling, noting the scalar->list
change). Serving a true subset (`serve.graphs` with more than one entry) is
rejected with a route-unification hint; one entry (single-graph) and none
(serve all) preserve today's behavior.

Renames the accessors (server_* -> serve_*) and repoints the server boot call
sites; migrates the init scaffold to `serve:`. `servers:` (the remote endpoint
map) is deliberately unaffected — the key scan is exact-match.
2026-06-04 21:38:25 +02:00
..
examples feat: inline query strings in CLI and HTTP server (#110) 2026-05-29 13:41:54 +02:00
src refactor(config,cli,server): rename the server: config block to serve: 2026-06-04 21:38:25 +02:00
tests fix(cli,server): correct remaining --target references to --graph 2026-06-04 08:56:39 +02:00
Cargo.toml refactor: extract omnigraph-api-types crate from omnigraph-server 2026-06-03 11:14:19 +02:00