-
Notifications
You must be signed in to change notification settings - Fork 83
feat: Convert config_validator to TS #556
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
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.
LGTM. One non-blocking comment about naming of validate function.
@@ -73,7 +73,7 @@ var createInstance = function(config) { | |||
} | |||
|
|||
try { | |||
configValidator.validate(config); | |||
validate(config); |
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: It is a little hard to understand what validate
is - IMO it would be easier to read as import * as configValidator from '...'; configValidator.validate(config);
@@ -70,7 +70,7 @@ var createInstance = function(config) { | |||
} | |||
|
|||
try { | |||
configValidator.validate(config); | |||
validate(config); |
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.
Same comment re: validate
vs. configValidator.validate
@yavorona Please take a look at the FSC failure, I'm not sure what happened there. |
8c03d05
to
c9a1366
Compare
c9a1366
to
9ddcb85
Compare
9ddcb85
to
a462f65
Compare
Summary
config_validator
module from JS to TS.Test plan