graphql-engine/v3/crates/engine/tests
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
..
execute Add flag to toggle whether to expose internal errors (#759) 2024-06-27 12:43:23 +00:00
explain Rename "source" to "sourceType" for "kind": "Relationship". (#531) 2024-04-30 17:21:07 +00:00
ndc-postgres-configuration Resolve nested object boolean expressions (#680) 2024-06-11 12:57:21 +00:00
validate_metadata_artifacts Move AggregateExpression resolve tests from engine tests to metadata-resolve tests (#714) 2024-06-13 08:20:21 +00:00
auth_config.jsonschema use a better example of JWT claims namespace in JSON schema (#766) 2024-06-26 06:19:55 +00:00
chinook-postgres.sql Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
common.rs Support for partial supergraphs in metadata resolution. (#772) 2024-06-27 14:17:31 +00:00
db_definition.sql Resolve nested object boolean expressions (#680) 2024-06-11 12:57:21 +00:00
execution.rs Aggregate relationships GraphQL schema and execution (#756) 2024-06-26 09:10:33 +00:00
explain.rs Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00
finish.sql Speed up debug builds in Docker. (#484) 2024-04-22 13:43:29 +00:00
introspection.rs Aggregate relationships GraphQL schema and execution (#756) 2024-06-26 09:10:33 +00:00
relationship.rs Aggregate relationships GraphQL schema and execution (#756) 2024-06-26 09:10:33 +00:00
schema.json add field arguments in schema and execution (#695) 2024-06-19 08:15:09 +00:00
validate_metadata.rs Move AggregateExpression resolve tests from engine tests to metadata-resolve tests (#714) 2024-06-13 08:20:21 +00:00