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

Expose only pullConfiguration as API #688

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

gorkem
Copy link
Collaborator

@gorkem gorkem commented Mar 26, 2022

Changes the SettingsHandler and exposes only pullConfiguration as API. This makes it easy to keep a consistent Settings list which would otherwise be affected by multiple events causing race conditions.

Also modifies the tests to test through pullConfiguration.

What issues does this PR fix or reference?

fixes redhat-developer/vscode-yaml#721

Is it tested? How?

Added a new case to cover schema store and modified existing tests.

Changes the SettingsHandler and exposes only pullConfiguration as
API. This makes it easy to keep a consistent Settings list which would
otherwise be affected from multiple events causing race conditions.

Also modifies the tests to test through pullConfiguration.
@coveralls
Copy link

coveralls commented Mar 29, 2022

Coverage Status

Coverage increased (+0.3%) to 82.183% when pulling 85613fb on gorkem:settings-pull into 078976c on redhat-developer:main.

@msivasubramaniaan msivasubramaniaan merged commit cb688a6 into redhat-developer:main Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

schemaStore.enable setting does not work as expected
3 participants