graphql-engine/v3/crates/open-dds
Samir Talwar 291d564d82 Support for partial supergraphs in metadata resolution. (#772)
### What

This adds a flag, `--partial-supergraph`, which instructs the metadata
resolver to prune relationships to unknown subgraphs rather than failing
to resolve.

### How

The flag gets passed through as
`metadata_resolve::configuration::Configuration`, and known subgraphs
are now tracked in `MetadataAccessor`. If the flag is set and a
relationship target refers to an unknown subgraph, we return an empty
list of relationships instead of failing.

Some test infrastructure has been added to set configuration flags per
test.

V3_GIT_ORIGIN_REV_ID: 6f0de2442a3bfc7c7a4c48e3dc7296dc1538cd67
2024-06-27 14:17:31 +00:00
..
examples upgrade to ndc v0.1.3 (#629) 2024-06-05 10:16:11 +00:00
src Support for partial supergraphs in metadata resolution. (#772) 2024-06-27 14:17:31 +00:00
Cargo.toml Use SubgraphIdentifier in the metadata accessor, and SmolStr internally. (#768) 2024-06-26 22:04:22 +00:00
metadata.jsonschema Fix NDC version used in JSON Schema references (#770) 2024-06-27 03:50:35 +00:00