Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A -Depth parameter would be usefull #81

Open
x86Since8088 opened this issue Mar 10, 2022 · 0 comments
Open

A -Depth parameter would be usefull #81

x86Since8088 opened this issue Mar 10, 2022 · 0 comments

Comments

@x86Since8088
Copy link

I would like to dump data for human review in YAML, but some objects have seemingly endless recursion. A -Depth parameter would help here.

Exception calling "Serialize" with "2" argument(s): "Too much recursion when traversing the object graph"
At C:\Users\my\Documents\WindowsPowerShell\Modules\powershell-yaml\0.4.2\powershell-yaml.psm1:398 char:13

  •         $serializer.Serialize($wrt, $norm)
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : InvalidOperationException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant