mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2105] [feature]: Set default env variable value #704
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#704
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?
Originally created by @leomp12 on GitHub (Feb 2, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2105
Is there an existing issue for this?
Summary
Support setting fallback value to env variables with something like
<<baseUri | "https://api.io/v1/">>.Alternative implementation
It would also be feasible (not so friendly) if we can call
pw.env.get(as Postman does) on Pre-Request Scripts:Why should this be worked on?
It would be helpful to share (Copy link) to end users the same request that you are using in development, working on just one click without the need to set up environment.
@leomp12 commented on GitHub (Mar 3, 2022):
Not sure (not checked yet) if I was wrong when open the issue or the
pw.env.getwas really made available on Pre-Request Scripts as suggested as alternative implementation.Anyway, it's working now so I'm closing the issue 😃
Thanks!