[PR #5368] [MERGED] fix: add support for data-schema changes after version bump #5178

Closed
opened 2026-03-17 02:39:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5368
Author: @nivedin
Created: 9/2/2025
Status: Merged
Merged: 9/2/2025
Merged by: @jamesgeorge007

Base: patchHead: fix/data-schema-bug


📝 Commits (1)

  • 42a9c63 fix: add data-scheme version bump support changes

📊 Changes

3 files changed (+58 additions, -35 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/http/ResponseInterface.vue (+27 -9)
📝 packages/hoppscotch-common/src/helpers/utils/interfaceLanguages.ts (+26 -25)
📝 packages/hoppscotch-common/src/helpers/utils/json-to-language.ts (+5 -1)

📄 Description

Closes #5361

This PR fixes an issue where the response data schema crashed after upgrading quicktype-core from version 23.0.170 to 23.2.6. The new version only accepts lowercase language types, and a change in the input language types caused the crash.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/5368 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 9/2/2025 **Status:** ✅ Merged **Merged:** 9/2/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `fix/data-schema-bug` --- ### 📝 Commits (1) - [`42a9c63`](https://github.com/hoppscotch/hoppscotch/commit/42a9c636190fdf46d6de6844d79ecb18077ff1ad) fix: add data-scheme version bump support changes ### 📊 Changes **3 files changed** (+58 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/http/ResponseInterface.vue` (+27 -9) 📝 `packages/hoppscotch-common/src/helpers/utils/interfaceLanguages.ts` (+26 -25) 📝 `packages/hoppscotch-common/src/helpers/utils/json-to-language.ts` (+5 -1) </details> ### 📄 Description Closes #5361 This PR fixes an issue where the response data schema crashed after upgrading `quicktype-core` from version `23.0.170` to `23.2.6`. The new version only accepts lowercase language types, and a change in the input language types caused the crash. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:39:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#5178
No description provided.