datum icon indicating copy to clipboard operation
datum copied to clipboard

Resolve-NodeProperty does not support $false in DefaultValue parameter

Open bdrans opened this issue 2 years ago • 1 comments

When specifying $false as the DefaultValue for Resolve-NodeProperty it is treated as if no DefaultValue was passed in. If the specified PropertyPath does not exist instead of $false being returned instead we throw the following error: "The lookup of path '$PropertyPath' for node '$($node.Name)' returned a Null value, but Null is not specified as Default. This is not allowed."

bdrans avatar Nov 10 '22 22:11 bdrans