mirror of
https://github.com/appy-one/acebase-core.git
synced 2026-05-24 22:01:23 -06:00
[PR #42] [MERGED] Feature: "warn only" schema definitions #43
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-core#43
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/appy-one/acebase-core/pull/42
Author: @appy-one
Created: 5/20/2023
Status: ✅ Merged
Merged: 5/20/2023
Merged by: @appy-one
Base:
master← Head:feature/warn-only-schema-definitions📝 Commits (2)
ca0bc62add warnOnly option to schema definitionsbd9230fRefactored 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.