Skip to content

Commit

Permalink
feat: add migration docs url to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleadams committed Apr 27, 2022
1 parent 30ee2b0 commit 2de3c91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('showDefaultIdentityClaimWarning', () => {
' WARNING: Amplify CLI will change the default identity claim from \'username\' '
+ 'to use \'sub::username\'. To continue using only usernames, set \'identityClaim: "username"\' on your '
+ '\'owner\' rules on your schema. The default will be officially switched with v9.0.0. To read '
+ 'more: https://link.to/docs-and-migration-gudes',
+ 'more: https://docs.amplify.aws/cli/migration/identity-claim-changes/',
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const showDefaultIdentityClaimWarning = (context: TransformerContextProvi
' WARNING: Amplify CLI will change the default identity claim from \'username\' '
+ 'to use \'sub::username\'. To continue using only usernames, set \'identityClaim: "username"\' on your '
+ '\'owner\' rules on your schema. The default will be officially switched with v9.0.0. To read '
+ 'more: https://link.to/docs-and-migration-gudes',
+ 'more: https://docs.amplify.aws/cli/migration/identity-claim-changes/',
);
}
};

0 comments on commit 2de3c91

Please sign in to comment.