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

Internal class WorkspaceConfigurationProvider is returned from Public APIs #953

Open
gfs opened this issue Mar 15, 2023 · 0 comments
Open

Comments

@gfs
Copy link

gfs commented Mar 15, 2023

Problem

WorkspaceConfigurationProvider [1] is an internal class but it is returned from the public GetConfiguration API.

The GetConfiguration API [2] returns multiple Providers, and I'd like to be able to distinguish between them, as VS Code configuration for a Language Client end up in a WorkspaceConfigurationProvider. However, since WorkspaceConfigurationProvider is internal you cannot type check it.

image

Proposed Solution

Make WorkspaceConfigurationProvider Public.

Code References

[1]

internal class WorkspaceConfigurationProvider : ConfigurationProvider

[2]

Task<IConfiguration> GetConfiguration(params ConfigurationItem[] items);

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

No branches or pull requests

1 participant