[PR #227] [MERGED] Feature: "warn only" schema definitions #178

Closed
opened 2026-05-23 08:32:39 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase/pull/227
Author: @appy-one
Created: 5/21/2023
Status: Merged
Merged: 5/21/2023
Merged by: @appy-one

Base: masterHead: feature/warn-only-schemas


📝 Commits (2)

  • 4e5b203 add warnOnly schema option
  • 4d9fc0e bump acebase-core dependency

📊 Changes

5 files changed (+244 additions, -12 deletions)

View changed files

📝 package-lock.json (+7 -7)
📝 package.json (+1 -1)
📝 src/api-local.ts (+2 -2)
📝 src/storage/index.ts (+5 -2)
📝 src/test/schema.spec.ts (+229 -0)

📄 Description

This enables one to introduce schema definitions to an existing database, but logs warnings instead of denying writes not conforming to the schema.


🔄 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/appy-one/acebase/pull/227 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 5/21/2023 **Status:** ✅ Merged **Merged:** 5/21/2023 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `feature/warn-only-schemas` --- ### 📝 Commits (2) - [`4e5b203`](https://github.com/appy-one/acebase/commit/4e5b203adf5e15799d855b66025b782598344b50) add `warnOnly` schema option - [`4d9fc0e`](https://github.com/appy-one/acebase/commit/4d9fc0e935bc63adeeaf837482143687a89f04d9) bump acebase-core dependency ### 📊 Changes **5 files changed** (+244 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+7 -7) 📝 `package.json` (+1 -1) 📝 `src/api-local.ts` (+2 -2) 📝 `src/storage/index.ts` (+5 -2) 📝 `src/test/schema.spec.ts` (+229 -0) </details> ### 📄 Description This enables one to introduce schema definitions to an existing database, but logs warnings instead of denying writes not conforming to the schema. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:32:39 -06: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: github-starred/acebase#178
No description provided.