Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Remove deprecated db options #100

Merged
merged 2 commits into from
Apr 24, 2019
Merged

Conversation

holgerd77
Copy link
Member

I think we should use the occasion of a breaking release and get rid of the old DB constructor options. These have been deprecated by @vpulim along this major refactoring work #47.

This PR removed both the opts.blockDb and opts.detailsDb options and the simplified no-opts-constructor directly passing in the DB (which adds very little benefit on the convenience level at the cost of higher complexity and eventually not very robust code).

Copy link
Contributor

@s1na s1na left a comment

Choose a reason for hiding this comment

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

Agree that this is a good opportunity for such breaking changes. Looks good thanks.

Copy link
Member

@alcuadrado alcuadrado left a comment

Choose a reason for hiding this comment

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

This looks good. Adapting to this change, as a consumer, is trivial.

@alcuadrado alcuadrado mentioned this pull request Apr 23, 2019
@holgerd77 holgerd77 force-pushed the remove-deprecated-db-options branch from df0da22 to 6738dad Compare April 24, 2019 13:23
@holgerd77 holgerd77 force-pushed the remove-deprecated-db-options branch from 6738dad to baa6b68 Compare April 24, 2019 13:24
@holgerd77
Copy link
Member Author

Ok, rebased this after merging #105, @s1na @alcuadrado guess this needs another short review.

@alcuadrado
Copy link
Member

LGTM

@holgerd77 holgerd77 merged commit c9722da into master Apr 24, 2019
@holgerd77 holgerd77 deleted the remove-deprecated-db-options branch April 24, 2019 15:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants