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

dsc resource list <INPUT> should leverage the adapter cache to find resources #653

Open
JohnMcPMS opened this issue Feb 19, 2025 · 0 comments
Labels
Issue-Enhancement The issue is a feature or idea Needs Triage

Comments

@JohnMcPMS
Copy link
Collaborator

Summary of the new feature / enhancement

dsc resource list <INPUT> will not currently find resources behind adapters without specifying the adapter (or *). With the resource cache for adapters, this may be performant enough to allow searching across all adapters even without being requested.

The downside is that on a system without any cached data, the initial search for a resource will need to build out the caches. This could make the first run of dsc resource list <INPUT> extremely expensive.

Note that I am not suggesting that dsc resource list should search adapters. Even if this was fast to do, the result set would be far too large to be of much use. This may eventually be the case for un-adapted resources.

Proposed technical implementation details (optional)

No response

@JohnMcPMS JohnMcPMS added Issue-Enhancement The issue is a feature or idea Needs Triage labels Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement The issue is a feature or idea Needs Triage
Projects
None yet
Development

No branches or pull requests

1 participant