You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@juliangruber Do you need it to be more generic for e.g. multilevel? I guess since we are moving this out already and also bumping levelup to 1.0.0 we have more freedom to do what we want.
This module currently has 2 apis, which differ in the way encodings are inherited. Those two snippets are equivalent:
The first is more generic as it supports inheritance over
n
encoding options, whereas the second one works exactly with what we need in levelup.We could change the class api to take
n
encoding options too:I guess the real question is: Do we want to make this module truly generic, or tie it to it's main use cases: levelup and multilevel.
Input from people having to use levelup's codec logic would help a lot.
@ralphtheninja @dominictarr @substack
The text was updated successfully, but these errors were encountered: