[PR #3832] [MERGED] fix(persistence-service): add fallbacks for environments related schemas #4544

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3832
Author: @jamesgeorge007
Created: 2/15/2024
Status: Merged
Merged: 2/15/2024
Merged by: @AndrewBastin

Base: release/2023.12.5Head: hotfix/persistence-service-schemas


📝 Commits (1)

  • 59a1fb0 fix: add fallbacks for environments related schemas

📊 Changes

4 files changed (+18 additions, -4 deletions)

View changed files

📝 packages/hoppscotch-common/src/newstore/environments.ts (+12 -1)
📝 packages/hoppscotch-common/src/services/persistence/index.ts (+4 -1)
📝 packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts (+1 -1)
📝 packages/hoppscotch-data/src/environment/v/1.ts (+1 -1)

📄 Description

Description

This PR aims at adding fallbacks for the v1 schema corresponding to the environments versioned entity and ensures necessary transformation is applied for data read from the store with Global environments.

Closes HFE-430.

Checks

  • My pull request adheres to the code style of this project
  • All the tests have passed

🔄 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/3832 **Author:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Created:** 2/15/2024 **Status:** ✅ Merged **Merged:** 2/15/2024 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.12.5` ← **Head:** `hotfix/persistence-service-schemas` --- ### 📝 Commits (1) - [`59a1fb0`](https://github.com/hoppscotch/hoppscotch/commit/59a1fb06e34a47c7791dd10ad86dd64e0be4d483) fix: add fallbacks for environments related schemas ### 📊 Changes **4 files changed** (+18 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/newstore/environments.ts` (+12 -1) 📝 `packages/hoppscotch-common/src/services/persistence/index.ts` (+4 -1) 📝 `packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts` (+1 -1) 📝 `packages/hoppscotch-data/src/environment/v/1.ts` (+1 -1) </details> ### 📄 Description ### Description This PR aims at adding fallbacks for the `v1` schema corresponding to the `environments` versioned entity and ensures necessary transformation is applied for data read from the store with Global environments. Closes HFE-430. ### Checks - [x] My pull request adheres to the code style of this project - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:04:13 +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#4544
No description provided.