├── .cargo └── config.toml ├── .circleci └── config.yml ├── .github └── renovate.json5 ├── .gitignore ├── CHANGELOG.md ├── CODEOWNERS ├── Cargo.toml ├── LICENSE ├── README.md ├── cli ├── Cargo.toml └── src │ └── main.rs ├── examples └── api_schema.rs ├── src ├── api_schema.rs ├── compat.rs ├── error │ └── mod.rs ├── indented_display.rs ├── lib.rs ├── link │ ├── argument.rs │ ├── database.rs │ ├── federation_spec_definition.rs │ ├── graphql_definition.rs │ ├── inaccessible_spec_definition.rs │ ├── join_spec_definition.rs │ ├── link_spec_definition.rs │ ├── mod.rs │ ├── spec.rs │ └── spec_definition.rs ├── merge.rs ├── query_graph │ ├── build_query_graph.rs │ ├── condition_resolver.rs │ ├── extract_subgraphs_from_supergraph.rs │ ├── graph_path.rs │ ├── mod.rs │ ├── output.rs │ └── path_tree.rs ├── query_plan │ ├── conditions.rs │ ├── display.rs │ ├── fetch_dependency_graph.rs │ ├── fetch_dependency_graph_processor.rs │ ├── generate.rs │ ├── mod.rs │ ├── operation.rs │ ├── query_planner.rs │ └── query_planning_traversal.rs ├── schema │ ├── argument_composition_strategies.rs │ ├── definitions.rs │ ├── field_set.rs │ ├── mod.rs │ ├── position.rs │ ├── referencer.rs │ ├── subgraph_metadata.rs │ └── type_and_directive_specification.rs └── subgraph │ ├── database.rs │ ├── mod.rs │ └── spec.rs └── tests ├── api_schema.rs ├── composition_tests.rs ├── extract_subgraphs.rs ├── main.rs ├── query_plan ├── mod.rs ├── operation_optimization_tests.rs └── operation_validations_tests.rs ├── snapshots ├── main__composition_tests__can_compose_supergraph-2.snap ├── main__composition_tests__can_compose_supergraph.snap ├── main__composition_tests__can_compose_types_from_different_subgraphs-2.snap ├── main__composition_tests__can_compose_types_from_different_subgraphs.snap ├── main__composition_tests__can_compose_with_descriptions-2.snap ├── main__composition_tests__can_compose_with_descriptions.snap ├── main__composition_tests__compose_removes_federation_directives-2.snap ├── main__composition_tests__compose_removes_federation_directives.snap └── main__extract_subgraphs__can_extract_subgraph.snap └── subgraph ├── mod.rs └── parse_expand_tests.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.github/renovate.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/.github/renovate.json5 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/README.md -------------------------------------------------------------------------------- /cli/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/cli/Cargo.toml -------------------------------------------------------------------------------- /cli/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/cli/src/main.rs -------------------------------------------------------------------------------- /examples/api_schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/examples/api_schema.rs -------------------------------------------------------------------------------- /src/api_schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/api_schema.rs -------------------------------------------------------------------------------- /src/compat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/compat.rs -------------------------------------------------------------------------------- /src/error/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/error/mod.rs -------------------------------------------------------------------------------- /src/indented_display.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/indented_display.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/link/argument.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/argument.rs -------------------------------------------------------------------------------- /src/link/database.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/database.rs -------------------------------------------------------------------------------- /src/link/federation_spec_definition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/federation_spec_definition.rs -------------------------------------------------------------------------------- /src/link/graphql_definition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/graphql_definition.rs -------------------------------------------------------------------------------- /src/link/inaccessible_spec_definition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/inaccessible_spec_definition.rs -------------------------------------------------------------------------------- /src/link/join_spec_definition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/join_spec_definition.rs -------------------------------------------------------------------------------- /src/link/link_spec_definition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/link_spec_definition.rs -------------------------------------------------------------------------------- /src/link/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/mod.rs -------------------------------------------------------------------------------- /src/link/spec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/spec.rs -------------------------------------------------------------------------------- /src/link/spec_definition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/link/spec_definition.rs -------------------------------------------------------------------------------- /src/merge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/merge.rs -------------------------------------------------------------------------------- /src/query_graph/build_query_graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_graph/build_query_graph.rs -------------------------------------------------------------------------------- /src/query_graph/condition_resolver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_graph/condition_resolver.rs -------------------------------------------------------------------------------- /src/query_graph/extract_subgraphs_from_supergraph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_graph/extract_subgraphs_from_supergraph.rs -------------------------------------------------------------------------------- /src/query_graph/graph_path.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_graph/graph_path.rs -------------------------------------------------------------------------------- /src/query_graph/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_graph/mod.rs -------------------------------------------------------------------------------- /src/query_graph/output.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_graph/output.rs -------------------------------------------------------------------------------- /src/query_graph/path_tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_graph/path_tree.rs -------------------------------------------------------------------------------- /src/query_plan/conditions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/conditions.rs -------------------------------------------------------------------------------- /src/query_plan/display.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/display.rs -------------------------------------------------------------------------------- /src/query_plan/fetch_dependency_graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/fetch_dependency_graph.rs -------------------------------------------------------------------------------- /src/query_plan/fetch_dependency_graph_processor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/fetch_dependency_graph_processor.rs -------------------------------------------------------------------------------- /src/query_plan/generate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/generate.rs -------------------------------------------------------------------------------- /src/query_plan/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/mod.rs -------------------------------------------------------------------------------- /src/query_plan/operation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/operation.rs -------------------------------------------------------------------------------- /src/query_plan/query_planner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/query_planner.rs -------------------------------------------------------------------------------- /src/query_plan/query_planning_traversal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/query_plan/query_planning_traversal.rs -------------------------------------------------------------------------------- /src/schema/argument_composition_strategies.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/schema/argument_composition_strategies.rs -------------------------------------------------------------------------------- /src/schema/definitions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/schema/definitions.rs -------------------------------------------------------------------------------- /src/schema/field_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/schema/field_set.rs -------------------------------------------------------------------------------- /src/schema/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/schema/mod.rs -------------------------------------------------------------------------------- /src/schema/position.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/schema/position.rs -------------------------------------------------------------------------------- /src/schema/referencer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/schema/referencer.rs -------------------------------------------------------------------------------- /src/schema/subgraph_metadata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/schema/subgraph_metadata.rs -------------------------------------------------------------------------------- /src/schema/type_and_directive_specification.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/schema/type_and_directive_specification.rs -------------------------------------------------------------------------------- /src/subgraph/database.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/subgraph/database.rs -------------------------------------------------------------------------------- /src/subgraph/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/subgraph/mod.rs -------------------------------------------------------------------------------- /src/subgraph/spec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/src/subgraph/spec.rs -------------------------------------------------------------------------------- /tests/api_schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/api_schema.rs -------------------------------------------------------------------------------- /tests/composition_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/composition_tests.rs -------------------------------------------------------------------------------- /tests/extract_subgraphs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/extract_subgraphs.rs -------------------------------------------------------------------------------- /tests/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/main.rs -------------------------------------------------------------------------------- /tests/query_plan/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/query_plan/mod.rs -------------------------------------------------------------------------------- /tests/query_plan/operation_optimization_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/query_plan/operation_optimization_tests.rs -------------------------------------------------------------------------------- /tests/query_plan/operation_validations_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/query_plan/operation_validations_tests.rs -------------------------------------------------------------------------------- /tests/snapshots/main__composition_tests__can_compose_supergraph-2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__composition_tests__can_compose_supergraph-2.snap -------------------------------------------------------------------------------- /tests/snapshots/main__composition_tests__can_compose_supergraph.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__composition_tests__can_compose_supergraph.snap -------------------------------------------------------------------------------- /tests/snapshots/main__composition_tests__can_compose_types_from_different_subgraphs-2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__composition_tests__can_compose_types_from_different_subgraphs-2.snap -------------------------------------------------------------------------------- /tests/snapshots/main__composition_tests__can_compose_types_from_different_subgraphs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__composition_tests__can_compose_types_from_different_subgraphs.snap -------------------------------------------------------------------------------- /tests/snapshots/main__composition_tests__can_compose_with_descriptions-2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__composition_tests__can_compose_with_descriptions-2.snap -------------------------------------------------------------------------------- /tests/snapshots/main__composition_tests__can_compose_with_descriptions.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__composition_tests__can_compose_with_descriptions.snap -------------------------------------------------------------------------------- /tests/snapshots/main__composition_tests__compose_removes_federation_directives-2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__composition_tests__compose_removes_federation_directives-2.snap -------------------------------------------------------------------------------- /tests/snapshots/main__composition_tests__compose_removes_federation_directives.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__composition_tests__compose_removes_federation_directives.snap -------------------------------------------------------------------------------- /tests/snapshots/main__extract_subgraphs__can_extract_subgraph.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/snapshots/main__extract_subgraphs__can_extract_subgraph.snap -------------------------------------------------------------------------------- /tests/subgraph/mod.rs: -------------------------------------------------------------------------------- 1 | mod parse_expand_tests; 2 | -------------------------------------------------------------------------------- /tests/subgraph/parse_expand_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apollographql/federation-next/HEAD/tests/subgraph/parse_expand_tests.rs --------------------------------------------------------------------------------