New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lambda auth minor fixes #8741
Lambda auth minor fixes #8741
Conversation
context.print.success('Available advanced settings:'); | ||
advancedSettingsList.forEach(setting => context.print.info('- '.concat(setting))); | ||
context.print.info(''); | ||
if(!templateParameters.skipAdvancedSection) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can we reverse this condition and early return to avoid more nesting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated as suggested. Also, updated the skipNextSteps method to follow the same code style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple nits but LGTM
print.info( | ||
'"amplify publish" builds all of your local backend and front-end resources (if you added hosting category) and provisions them in the cloud', | ||
); | ||
print.success(`Successfully added resource ${completeParams.resourceName} locally.`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would be nice to switch to amplify-prompts
for these print statements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've few more fast follow tasks related to this module, I will include this.
Codecov Report
@@ Coverage Diff @@
## master #8741 +/- ##
==========================================
- Coverage 56.88% 56.88% -0.01%
==========================================
Files 756 756
Lines 42247 42252 +5
Branches 8650 8656 +6
==========================================
Hits 24033 24033
- Misses 17393 17397 +4
- Partials 821 822 +1
Continue to review full report at Codecov.
|
This reverts commit 8ff558b.
👋 Hi, this pull request was referenced in the v6.4.0 release! Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v6.4.0. |
Description of changes
GraphQL Lambda Authorizer
to the list of NodeJS templates.amplify add and update api
workflow.Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.