Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
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