postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.82k stars 1.15k forks source link

fix: JSON Collection Unwrapping Consistency in Programmatic Interface #3189

Open Shiva953 opened 7 months ago

Shiva953 commented 7 months ago

This pull request addresses an inconsistency in the programmatic interface of Newman related to the handling of JSON collections as described in #3179. When a collection is passed directly as JSON, there was unexpected behaviour compared to loading it from an external file, especially when unwrapping was required.

Changes Made:

Shiva953 commented 7 months ago

would love a review for this, @codenirvana