azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

AzureRM.Automation Cmdlets hard coded Serialization Depth set to 10

Open robplank opened this issue 10 years ago • 2 comments

Please allow users to override the serialization depth, complex objects don't always serialize to a depth of 10.

in Common\Constants.cs these settings are set to a constant public const string PsCommandConvertToJson = "ConvertTo-Json"; public const string PsCommandConvertFromJson = "ConvertFrom-Json"; public const string PsCommandParamInputObject = "InputObject"; public const string PsCommandParamDepth = "Depth"; public const int PsCommandValueDepth = 10;

Please add an optional Parameter to all cmdlets that use PsCommandConvertToJson to allow the user to select their desired depth, please feel free to leave the default set to 10.

robplank avatar Aug 09 '16 05:08 robplank

@vrdmr Can you take a look at this feature request?

maddieclayton avatar Mar 10 '18 00:03 maddieclayton

Won't fix

GaneshMSAzure avatar Oct 15 '19 23:10 GaneshMSAzure