mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3419] [feature]: additional variable scopes to be used in scripts #1148
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#1148
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 @DaPutzy on GitHub (Oct 4, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3419
Summary
Currently there is only one scope for variables: env (outside of the script scope itself).
To be able to use scripts to their full potential at least 2 more variable scopes are needed: "request" and "collection".
Why should this be worked on?
I do no want to pollute my environment when creating a variable that is only used in one request or collection.
@JoshuaMoeckelmann commented on GitHub (Oct 16, 2023):
This is exactly what is holding me back from switching to hoppscotch... Would be an awesome feature