mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5536] [MERGED] fix(common): use fallback ref ID for mock server creation with legacy collections #5252
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#5252
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/5536
Author: @anwarulislam
Created: 10/30/2025
Status: ✅ Merged
Merged: 10/30/2025
Merged by: @jamesgeorge007
Base:
next← Head:fix/mock-server-on-personal-workspace📝 Commits (4)
472d1cefix(common): use fallback ref id for collection ID in createMockServer functionfb05b80fix(common): use fallback ref id for collection ID in mock server statusb9b4460fix(common): use fallback ref id for collection ID based on workspace typecfd30a3chore: removedisableMockServerInPersonalWorkspaceplatform feature flag📊 Changes
5 files changed (+14 additions, -38 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/collections/Collection.vue(+2 -1)📝
packages/hoppscotch-common/src/components/collections/index.vue(+2 -2)📝
packages/hoppscotch-common/src/components/mockServer/CreateMockServer.vue(+4 -1)📝
packages/hoppscotch-common/src/composables/mockServerVisibility.ts(+6 -28)📝
packages/hoppscotch-common/src/platform/index.ts(+0 -6)📄 Description
Fallback reference IDs are now added as collection IDs in both the
createMockServerfunction and the computation of mock server status. This facilitates the creation of a mock server for the legacy collection format.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.