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

Add method for validating a parser #1581

Closed
jonsequitur opened this issue Jan 13, 2022 · 1 comment
Closed

Add method for validating a parser #1581

jonsequitur opened this issue Jan 13, 2022 · 1 comment
Assignees
Milestone

Comments

@jonsequitur
Copy link
Contributor

In order to improve performance, a number of validations that were done while creating commands (e.g. alias collision checks on Command.Add) have been removed in beta 2. These checks are useful for developers but once the parser code is written, these checks are unnecessary performance overhead for the end user (unless the parser is assembled dynamically based for example on runtime configuration).

These validations should be opt-in via a public method that can be used for example during unit testing or during dynamic wire-up as appropriate.

@jonsequitur
Copy link
Contributor Author

Resolved by #1582.

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

No branches or pull requests

1 participant