diff --git a/apollo-composition/src/lib.rs b/apollo-composition/src/lib.rs index efdc7ac9..ddcc1668 100644 --- a/apollo-composition/src/lib.rs +++ b/apollo-composition/src/lib.rs @@ -133,23 +133,16 @@ pub trait HybridComposition { self.update_supergraph_sdl(raw_sdl); let satisfiability_result = self.validate_satisfiability().await; self.add_issues( - satisfiability_result_into_issues(satisfiability_result) - .map(|mut issue| { - for (service_name, connector) in by_service_name.iter() { - issue.message = issue.message.replace( - &**service_name, - connector.id.subgraph_name.as_str(), - ); - } - issue - }) - .chain(once(Issue { - code: "EXPERIMENTAL_FEATURE".to_string(), - message: "Connectors are an experimental feature. Breaking changes are likely to occur in future versions.".to_string(), - locations: vec![], - severity: Severity::Warning, - })), + satisfiability_result_into_issues(satisfiability_result).map(|mut issue| { + for (service_name, connector) in by_service_name.iter() { + issue.message = issue + .message + .replace(&**service_name, connector.id.subgraph_name.as_str()); + } + issue + }), ); + self.update_supergraph_sdl(original_supergraph_sdl); } ExpansionResult::Unchanged => {