-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement validation using schema salad #11
Comments
There is a decision to be made.
|
I think to use schema-salad is good. |
The generated code should be faster for validating documents, which would help the language server give real-time feedback. I recommend that solution. However, the code generation framework probably needs some additional work to produce the same quality error messages as using schema-salad-tool. |
@tetron Thank you for your suggestion! We will work on it using generated code.
Are there any issues filed in schema-salad repository or can you show concrete examples that produce different quality error messages? |
I found there are several implementation issues:
I will consider how to fix them and will send pull requests if possible. |
There is alternative to write a language server: https://github.com/openlawlibrary/pygls |
It was done by #12. |
The codegen-ed parser does not work with the functions such as |
Now the main blocker is closed but there is another minor issue to be solved. |
By achieving this, we do not have to implement other validation schemes.
The text was updated successfully, but these errors were encountered: