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
@vweevers vweevers added this to In progress in Level (old board) via automation 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 marked this pull request as ready for review September 22, 2019 12:07
@vweevers vweevers moved this from In progress to Review in Level (old board) Sep 22, 2019
lib/levelup.js Outdated Show resolved Hide resolved
@vweevers vweevers merged commit 2a98997 into master Sep 30, 2019
Level (old board) automation moved this from Review to Done Sep 30, 2019
@vweevers vweevers deleted the manifest branch September 30, 2019 07:17
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
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants