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

bugfix(#2431) Refactor URL construction in Postman collection processing #2445

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sanjai0py
Copy link
Collaborator

@sanjai0py sanjai0py commented Jun 12, 2024

Description

This PR improves the handling of URL construction when processing Postman collections. Previously, the code was not handling the case where the request.url field was an object without a raw field. The new code now correctly constructs the URL from the components of the request.url object when necessary.

The URL construction logic has been moved to a separate constructUrl function for better readability and maintainability.

Fixes #2431

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Postman import silently drops url values
2 participants