mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5827] [bug]: Unable to get the value of <<$guid>> in the "generate code" panel. #2284
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#2284
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 @KatyaGolyagina on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5827
Is there an existing issue for this?
Platform
Web App
Browser
Chrome
Operating System
Windows
Bug Description
what happens
I use the variable <<$guid>> in a query with a database record. I want to see the value that will be generated within the interface. To do this:
Expected result:
The value <<$guid>> in the specific field of the database will match the generated value in the "generate code" panel.
Actual result:
A different generated value <<$guid>> is saved in the database, which was not present in the "generate code" panel.
Overall, the value <<$guid>>, according to the "generate code" panel, changes every time you, for example, switch between response tabs at the bottom. I would like a bit more control - or not such chaotic updates of the variable.
Deployment Type
Self-hosted (on-prem deployment)
Version
Hoppscotch v2025.9.2
@shuaixr commented on GitHub (Feb 5, 2026):
I think generate code being inconsistent is acceptable, but History should store the actual resolved values used in the request (<<$guid>>) to make replaying requests easier.
If this makes sense, I am happy to discuss and fix for this.