Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Add manifest #678

Merged
merged 2 commits into from
Sep 30, 2019
Merged

Add manifest #678

merged 2 commits into from
Sep 30, 2019

Conversation

vweevers
Copy link
Member

No description provided.

@vweevers vweevers added enhancement New feature or request semver-minor New features that are backward compatible labels Sep 22, 2019
lib/levelup.js Outdated
Object.keys(this.supports.additionalMethods).forEach(function (method) {
this[method] = this[method] || function () {
// TODO: uhm. if the manifest is based on deferred-leveldown's,
// should we also call the methods via deferred-leveldown?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is tricky.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can work if we agree that deferred-leveldown itself must not add methods to its additionalMethods; it should inherit that from its input db (same as levelup).

lib/levelup.js Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request semver-minor New features that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants