-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactored question defaults #7
Conversation
…ults if available
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.
A good start. Just some questions about handling nil
and errors, and some feedback to simplify logic and avoid anti-patterns.
…ges to questions relating to user defaults in simple-ec2
…g, and other issues
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.
Looks good 👍
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.
Confirmed with Gavin offline that the unit tests are passing, even though this PR didn't run them automatically.
The existing unit tests now verify that the original code paths still function the same when user defaults are not supplied. I would also like to see some new tests to positively verify that user defaults are chosen instead when passed in.
But the new tests can be in a separate PR. This one looks good to me now.
…ults if available
Issue #, if available: awslabs#75
Description of changes: Refactored question defaults to set saved user configurations as defaults if available
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.