Skip to content
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

Control validating the config options via a boolean flag #116

Merged
merged 2 commits into from
Apr 29, 2021

Conversation

abhi-agg
Copy link
Contributor

  • parseOptions() function now validates the parsed options
    based on the validate argument

The PR fixes #112

 - parseOptions() function now validates the parsed options
   based on the validate argument
@abhi-agg abhi-agg requested a review from jerinphilip April 28, 2021 11:04
@abhi-agg
Copy link
Contributor Author

abhi-agg commented Apr 28, 2021

@XapaJIaMnu Could you please review the PR? It is a very small change to fix #112.

@abhi-agg abhi-agg requested a review from andrenatal April 28, 2021 14:47
Copy link
Collaborator

@XapaJIaMnu XapaJIaMnu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistent comment and code behaviour

@XapaJIaMnu
Copy link
Collaborator

Sorry my bad didn't see the comment doesn't extend to the value

@XapaJIaMnu XapaJIaMnu merged commit e5ec5bd into main Apr 29, 2021
@abhi-agg abhi-agg deleted the option-validation branch April 29, 2021 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsing config string into Options invokes config validator for byte array based constructor
3 participants