mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #862] [MERGED] Allow importing environment variables via Postman environment json files #2913
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2913
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/862
Author: @sboulema
Created: 5/11/2020
Status: ✅ Merged
Merged: 5/11/2020
Merged by: @liyasthomas
Base:
master← Head:feature/#759📝 Commits (2)
39a7d73Allow importing environment variables via Postman environment json filesd447029Merge branch 'master' into feature/#759📊 Changes
1 file changed (+19 additions, -6 deletions)
View changed files
📝
components/environments/importExportEnvironment.vue(+19 -6)📄 Description
When importing a JSON file during the environment import we check for the Postman specific field
_postman_variable_scopewhich should be set toenvironment.If so, we re-format the JSON to the Postwoman structure and call the existing import function.
If not, we assume it is a Postwoman file and import it as usual.
This PR intends to add the feature discussed in #759
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.