-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Preference schema validation issue (rust vscode extension) #6106
Comments
@AlexTugarev please try with #6090 |
@akosyakov the mentioned PR is proposing to not call otoh, it won't actually solve the issue described ☝️ the |
What's the use of a scheme if we don't do a validation anymore? I think doing warning check on a scheme is good to catch such issues, don't know why VS Code just swallow it and does not report back to VS Code extension developers. But rather than that we can move validation check to statically typed proxies in order to avoid breaking them and don't check anything in |
Fixes #6106 Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
Fixes #6106 Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
Fixes #6106 Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
when the rust extension for vscode is installed you'll see this error:
reason: it's reading
['rust-client.channel'].type = ["string", null]
which should be['rust-client.channel'].type = ["string", "null"]
.because the resulting schema cannot be compiled, this breaks the update of the
validateFunction
leaving the old version of thevalidateFunction
in place.any call to the preference service requesting some affected preference key returns with empty result, i.e. preference not found.
The text was updated successfully, but these errors were encountered: