mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-24 22:01:13 -06:00
[PR #191] [MERGED] Empty keys pre-check #157
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#157
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/pull/191
Author: @appy-one
Created: 12/19/2022
Status: ✅ Merged
Merged: 12/19/2022
Merged by: @appy-one
Base:
master← Head:fix/empty-keys-check📝 Commits (2)
e4ab033pre-check if empty keys are written1626749add empty keys unit tests📊 Changes
2 files changed (+21 additions, -2 deletions)
View changed files
📝
src/storage/binary/index.ts(+1 -2)📝
src/test/keys.spec.ts(+20 -0)📄 Description
Adds a pre-check to prevent empty
''keys to be used inupdateandsetobjects. This has already been fixed inacebase-coreby https://github.com/appy-one/acebase-core/pull/24, added here to keep checks the same. Another option would be to to remove the key checks here and completely delegate it toacebase-core'sPathInfoclass. This should be considered.Also adds unit tests
ref: #172
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.