-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requirements for manifests #42
Comments
Let's take
|
We can start off simple, with a manifest object that has boolean properties, where each property describes a known feature. We can later handle custom features. That's a smaller scope than e.g. In other words, when our manifest lists a feature like We can later extend the format into So to be future-proof, I'll rephrase: we can start off with a manifest object has truthy properties. |
Yes, and we can. We already feature-detect binary keys so we can just put the result of that in the manifest. |
Ooh. We can also add if (db.supports.deferredOpen) {
// Use directly
} else {
// Wrap with deferred-leveldown
} |
Additional requirements can be discussed in https://github.com/Level/supports. For overall progress, see #83. |
I felt the need to defragment various threads:
approximateSize
: implement manifest functionality deferred-leveldown#35 and detecting approximateSize presence abstract-leveldown#8db
with a certaintype
: Current functionality and the future (hoping on support for all use cases) subleveldown#34Prior art:
level-manifest
(used bymultilevel
but notmultileveldown
)Requirements:
approximateSize()
(use case: defer/proxy/expose)Open questions:
level-js
. Is that something we want to expose?The text was updated successfully, but these errors were encountered: