Skip to content

Commit

Permalink
In case of broken config add warning message with url to migration gu…
Browse files Browse the repository at this point in the history
…ide (#6652)
  • Loading branch information
IvanGoncharov authored Jan 27, 2025
1 parent bfad5b2 commit 38b10c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo-router/src/configuration/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub(crate) fn validate_yaml_configuration(
if schema.validate(&expanded_yaml).is_ok() {
yaml = upgraded;
} else {
tracing::warn!("configuration could not be upgraded automatically as it had errors")
tracing::warn!("Configuration could not be upgraded automatically as it had errors. If you previously used this configuration with Router 1.x, please refer to the migration guide: https://www.apollographql.com/docs/graphos/reference/migration/from-router-v1")
}
}

Expand Down

0 comments on commit 38b10c6

Please sign in to comment.