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

Validate grammar in CLI, disable validation at runtime #196

Closed
spoenemann opened this issue Aug 30, 2021 · 1 comment · Fixed by #253
Closed

Validate grammar in CLI, disable validation at runtime #196

spoenemann opened this issue Aug 30, 2021 · 1 comment · Fixed by #253
Assignees
Labels
cli CLI related issue
Milestone

Comments

@spoenemann
Copy link
Contributor

Now that we have #169 we can provide a great improvement:

  • Validate the Chevrotain grammar by loading it in the CLI.
  • Disable grammar validation at runtime (see documentation).

We could realize this by passing an options object to createLangiumParser and set { skipValidations: true } in the default DI module.

@spoenemann spoenemann added the cli CLI related issue label Aug 30, 2021
@spoenemann spoenemann added this to the v0.2.0 milestone Sep 15, 2021
@spoenemann
Copy link
Contributor Author

Depends on #248.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli CLI related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant