Open mdaneri opened 2 months ago
Lock-PodeObject
Enter-PodeLockable
I'm not sure if are fixable passing an array the array is transformed to a different object
Maybe is better to set ValueFromPipeline to $false
@Badgerati, I am done with this. Please take a look at it when you have time
Description
This feature enhances the Pode module by enabling full support for passing arrays to functions using the pipeline. The update ensures that the specified functions can correctly handle multiple input objects when piped as arrays, improving flexibility and usability in scripting and automation.
Impacted Functions:
Set-PodeCache
Add-PodeOAResponse
Remove-PodeOAResponse
Set-PodeOARequest
Set-PodeOARouteInfo
Add-PodeOACallBack
Add-PodeOAExternalRoute
ConvertTo-PodeRoute
Update-PodeSecret
Set-PodeSecret
Set-PodeState
Out-PodeHost
Write-PodeHost
Out-PodeVariable
Key Changes:
This update will streamline the process of handling multiple objects in a single pipeline, making it easier to work with collections of items in Pode scripts.
This update address #1343