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

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).

@vweevers vweevers merged commit 2a98997 into master Sep 30, 2019
@vweevers vweevers deleted the manifest branch September 30, 2019 07:17
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.

3 participants