-
Notifications
You must be signed in to change notification settings - Fork 13
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
No linting errors when defining data as array of schema #63
Comments
Here, I guess you want
|
To reproduce the issue I moved the snippet to a dedicated folder.
The issue is there even with no kcl.mod file. When running
Logs from the vscode language server:
I forgot to mention the following: |
which version is your kcl lsp? you can get it by |
Thank you, your hint solved the issue. When I updated kcl I forgot to update the lsp. With
Then, using the instructions I updated the language server. It now prints
It works as expected. |
I wanted to define some data as an array of a given schema like this:
In kcl I get the following error message:
I assume that what I tried to do is not supported in kcl. This bug report is about the vscode extension plugin not indicating any linting errors. Everything looks fine until I try to compile it.
kcl version: 0.10.10
kcl vscode plugin version: v0.2.2
If someone knows if there is a way how to get the above running, I would be glad to know. :)
The text was updated successfully, but these errors were encountered: