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

Increase JSON depth on save/restore to maximums #1093

Closed
plk opened this issue Apr 22, 2023 · 1 comment
Closed

Increase JSON depth on save/restore to maximums #1093

plk opened this issue Apr 22, 2023 · 1 comment
Labels
Milestone

Comments

@plk
Copy link
Contributor

plk commented Apr 22, 2023

Describe the Bug

A mildly complex state exceeds the hard-coded depth of 10 in the convert-to/from JSON calls in the save/restore state cmdlets. This makes it impossible to save/restore such state. Please increase the depth for these commands to the maximums (1024/100 for from/to in PS core).

Steps To Reproduce

Create a state variable with a depth > 10 and then save/restore of state fails.

Expected Behavior

Maximum depth for JSON should be supported or perhaps settable via the save/restore cmdlets.

@Badgerati
Copy link
Owner

Resolved in #1094

@Badgerati Badgerati modified the milestones: 2.8.1, 2.9.0 Jul 7, 2023
@Badgerati Badgerati mentioned this issue Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants