docs(core): static-query migration should use permalink for migration guide (#30649)
8479cb4233
updated the static-query migration
to refer to the new guide on AIO. Unfortunately these URLs are currently not
valid as the guide is only available on `next.angular.io` right now. In order to
make the link work permanently (e.g. if we eventually remove the guide in future
major versions), we use the permalink from the `v8` subdomain.
PR Close #30649
This commit is contained in:
parent
cdb5ea4200
commit
6bf5ec241d
|
@ -58,7 +58,7 @@ async function runMigration(tree: Tree, context: SchematicContext) {
|
|||
logger.info('With Angular version 8, developers need to');
|
||||
logger.info('explicitly specify the timing of ViewChild and');
|
||||
logger.info('ContentChild queries. Read more about this here:');
|
||||
logger.info('https://angular.io/guide/static-query-migration');
|
||||
logger.info('https://v8.angular.io/guide/static-query-migration');
|
||||
|
||||
if (!buildPaths.length && !testPaths.length) {
|
||||
throw new SchematicsException(
|
||||
|
@ -101,7 +101,7 @@ async function runMigration(tree: Tree, context: SchematicContext) {
|
|||
logger.info('Some queries could not be migrated automatically. Please go');
|
||||
logger.info('through these manually and apply the appropriate timing.');
|
||||
logger.info('For more info on how to choose a flag, please see: ');
|
||||
logger.info('https://angular.io/guide/static-query-migration');
|
||||
logger.info('https://v8.angular.io/guide/static-query-migration');
|
||||
failures.forEach(failure => logger.warn(`⮑ ${failure}`));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue