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

Change deepObject generation #502

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Conversation

LuisTejedaS
Copy link
Contributor

Change deepObject generation

Currently, lodash's foreach interprets {length:20} as an array, so it generates 20 objects with an incremental key [1.2.3....20]
You can see the detail here:

postmanlabs/postman-app-support#10752

Changed to traverse manually the keys of the objects with plain javascript.
After changes the generated collection looks like this:

Screen Shot 2022-04-12 at 11 57 38

Change deepObject generation
@erfemega erfemega merged commit 75d8884 into develop Apr 12, 2022
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

Successfully merging this pull request may close these issues.

3 participants