mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3931] [MERGED] fix(common): ensure requests are translated to the latest version during import and search actions #4602
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#4602
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/3931
Author: @jamesgeorge007
Created: 3/22/2024
Status: ✅ Merged
Merged: 3/25/2024
Merged by: @jamesgeorge007
Base:
release/2024.3.0← Head:hotfix/versioned-entities📝 Commits (3)
a0bf684fix: ensure requests within imported collections are translated to the latest versionc8017aafix: ensure requests within search results are translated to the latest version1592147fix: use the correct versioned entity for validating GQL requests📊 Changes
2 files changed (+69 additions, -20 deletions)
View changed files
📝
packages/hoppscotch-common/src/helpers/import-export/import/hopp.ts(+47 -12)📝
packages/hoppscotch-common/src/helpers/teams/TeamsSearch.service.ts(+22 -8)📄 Description
Description
This PR ensures requests are validated against the
HoppRESTRequestversioned entity and translated to the latest version before consuming preventing any exceptions under the following scenarios.Fixes HFE-461.
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.