-
Notifications
You must be signed in to change notification settings - Fork 35
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
Refactor required parameters #79
Refactor required parameters #79
Conversation
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.
This is looking good to me! Only one note around changes currently shown. Otherwise, after updating the other unit tests as appropriate, I'd think we're getting close.
Since |
22ed003
to
db7df3a
Compare
db7df3a
to
010688e
Compare
"description": "%s", | ||
"applyTo": [ "%s", "%s" ] | ||
} | ||
"test": { |
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.
Could you also add a small check for the required property here?
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.
Overall, everything looks great. Could you please add another test for checking that required
is actually set for parameters? Thanks!
I think this PR should probably not close #68 because of cnabio/cnab-spec#233.
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.
After a rebasing and addressing #79 (comment) , I think this should be good to go.
010688e
to
5be9237
Compare
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.
LGTM, thanks for your contribution!
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.
LGTM
Relates to #68