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
It seems obvious (to me) that they should just expose a [Reasons] class themselves (or just use a PSObject), but whatever.
One way to fix it is to just rename the class. Another way would be to follow this example: dsccommunity/DscResource.Base#10
The text was updated successfully, but these errors were encountered:
Sorry for the drive-by issue, but basically, we can't use [Reasons] because if everyone does it, it breaks DSC.
dsccommunity/DscResource.Base#4
This is Microsoft's fault, but their approach so far is to just tell you to use a different name:
https://learn.microsoft.com/en-us/powershell/dsc/concepts/resources?view=dsc-3.0#embedding-classes
It seems obvious (to me) that they should just expose a [Reasons] class themselves (or just use a PSObject), but whatever.
One way to fix it is to just rename the class. Another way would be to follow this example:
dsccommunity/DscResource.Base#10
The text was updated successfully, but these errors were encountered: