mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4759] [MERGED] fix: request validation issue on load persistence tab #4924
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#4924
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/4759
Author: @anwarulislam
Created: 2/17/2025
Status: ✅ Merged
Merged: 2/20/2025
Merged by: @jamesgeorge007
Base:
next← Head:fix/multi-part-form-data-file-issue📝 Commits (2)
a57da6dfix: request validation issue on load persistence taba8226b1fix: restore value field state during page reloads📊 Changes
2 files changed (+16 additions, -2 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/http/BodyParameters.vue(+2 -1)📝
packages/hoppscotch-data/src/rest/v/9.ts(+14 -1)📄 Description
Closes HFE-761 #2453 #4591
The validation schema has been updated to include error handling for the
Blobarray. The previous implementation:has been replaced with:
This change ensures that if the validation fails, the result will default to an empty array instead of throwing an error.
Notes to reviewers
I would like to highlight that I don't believe a new versioning is necessary for this change, as we have only added a
.catch([])to handle validation errors. This modification is minor and does not significantly alter the functionality of the schema.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.