You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a module containing classes that do not have [DscResource()] attribute Get-DscResource will return those classes as if they were a resource.
PSDsc should check classes to see if they have that attribute and not return them.
Expected behavior
# classes without `[DscResource()]` are not returned as resources
Prerequisites
Steps to reproduce
If you have a module containing classes that do not have
[DscResource()]
attributeGet-DscResource
will return those classes as if they were a resource.PSDsc should check classes to see if they have that attribute and not return them.
Expected behavior
# classes without `[DscResource()]` are not returned as resources
Actual behavior
Error details
No response
Environment data
Version
2.0.6
Visuals
No response
The text was updated successfully, but these errors were encountered: