-
Notifications
You must be signed in to change notification settings - Fork 5
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 manifests #2
Comments
The "Even Better TOML" extension allows validating TOML against a JSON schema, which would achieve what we need, but doesn't yet have a way for an extension to register schemas. I've raised an issue and got a positive response, but they're not in a position for external contributors to send PRs right now; discussing it with the maintainer though. |
What if we had a Spin command that did some of this work? |
If it gave source file locations where appropriate, that would be great, but as you imply, the current architecture wouldn't give us that, because Spin uses serde deserialisation which does not retain position information. Without that, we could produce a problems list, but it wouldn't be very idiomatic. In VS Code the user expects squigglies, and expects to be able to click on a problem in the list and get taken to the location... |
Tracking issue for possible validations e.g.
source
file exist?files
array contain any patterns that match no files?The text was updated successfully, but these errors were encountered: