mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5584] [MERGED] fix: resolve collection variable referencing issues #5266
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#5266
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/5584
Author: @nivedin
Created: 11/16/2025
Status: ✅ Merged
Merged: 11/24/2025
Merged by: @jamesgeorge007
Base:
next← Head:fix/coll-var-codegen-bug📝 Commits (3)
55fa22dchore: pass self coll environments5a5a9f6chore: pass coll var in codegen and cleanup9296788chore: cleanup📊 Changes
3 files changed (+124 additions, -62 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/collections/Variables.vue(+8 -1)📝
packages/hoppscotch-common/src/components/http/Codegen.vue(+115 -60)📝
packages/hoppscotch-common/src/helpers/RequestRunner.ts(+1 -1)📄 Description
Closes FE-1052 #5583
This PR fixes the issue where a collection could not self-reference variables within its properties. It also resolves an issue in codegen where collection variables were not being parsed correctly.
What's changed
Notes to reviewers
Summary by cubic
Fixes FE-1052/#5583 by allowing collections to self-reference their own variables and by making codegen correctly resolve collection variables alongside request and environment variables.
Written for commit
9296788860. Summary will update automatically on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.