[PR #42] [MERGED] Feature: "warn only" schema definitions #43

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

📋 Pull Request Information

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

Base: masterHead: feature/warn-only-schema-definitions


📝 Commits (2)

  • ca0bc62 add warnOnly option to schema definitions
  • bd9230f Refactored unit tests to TypeScript

📊 Changes

12 files changed (+740 additions, -271 deletions)

View changed files

📝 spec/support/jasmine.json (+2 -2)
spec/transport.spec.js (+0 -238)
📝 src/acebase-base.ts (+2 -2)
📝 src/api.ts (+1 -1)
📝 src/cuid.spec.ts (+4 -4)
📝 src/path-info.spec.ts (+1 -1)
src/schema.spec.ts (+426 -0)
📝 src/schema.ts (+11 -3)
📝 src/simple-cache.spec.ts (+5 -6)
📝 src/simple-event-emitter.spec.ts (+9 -9)
src/transport.spec.ts (+262 -0)
📝 src/utils.spec.ts (+17 -5)

📄 Description

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

Also in this PR: refactored unit tests to TypeScript and moved to src


🔄 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-core/pull/42 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 5/20/2023 **Status:** ✅ Merged **Merged:** 5/20/2023 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `feature/warn-only-schema-definitions` --- ### 📝 Commits (2) - [`ca0bc62`](https://github.com/appy-one/acebase-core/commit/ca0bc6270a5ea85da43cfd406622bd9fe6015896) add warnOnly option to schema definitions - [`bd9230f`](https://github.com/appy-one/acebase-core/commit/bd9230f0b6c5c00852596d0529751aeceff043fe) Refactored unit tests to TypeScript ### 📊 Changes **12 files changed** (+740 additions, -271 deletions) <details> <summary>View changed files</summary> 📝 `spec/support/jasmine.json` (+2 -2) ➖ `spec/transport.spec.js` (+0 -238) 📝 `src/acebase-base.ts` (+2 -2) 📝 `src/api.ts` (+1 -1) 📝 `src/cuid.spec.ts` (+4 -4) 📝 `src/path-info.spec.ts` (+1 -1) ➕ `src/schema.spec.ts` (+426 -0) 📝 `src/schema.ts` (+11 -3) 📝 `src/simple-cache.spec.ts` (+5 -6) 📝 `src/simple-event-emitter.spec.ts` (+9 -9) ➕ `src/transport.spec.ts` (+262 -0) 📝 `src/utils.spec.ts` (+17 -5) </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. Also in this PR: refactored unit tests to TypeScript and moved to *src* --- <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:37:19 -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-core#43
No description provided.