mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3671] [MERGED] fix(persistence-service): update schemas found to differ in runtime #4486
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#4486
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/3671
Author: @jamesgeorge007
Created: 12/19/2023
Status: ✅ Merged
Merged: 12/19/2023
Merged by: @AndrewBastin
Base:
release/2023.12.0← Head:hotfix/persistence-service-schemas📝 Commits (4)
5824519fix: update persistence service schemas found to differ in runtimecf4b925refactor: make settings fallback to the default settings if not present8f9fc5erefactor: mark oauth2Token field optional under URL_EXCLUDES for settingsf392b96refactor: rely on fallback instead of explicit casting📊 Changes
2 files changed (+11 additions, -10 deletions)
View changed files
📝
packages/hoppscotch-common/src/services/persistence/index.ts(+5 -1)📝
packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts(+6 -9)📄 Description
Description
This PR aims at updating a few schemas under the persistence service that were found to differ from the incoming data at runtime.
localStorage. The corresponding schema has also been updated.clientIDfield as optional for the MQTT request schema and theoauth2Tokenfield underURL_EXCLUDESforsettings.Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.