Skip to content

accept level instances and don't create them  #1

@sergioramos

Description

@sergioramos

I have a fork (https://github.com/ramitos/level-modella) of this repo with the following changes:

  • accept level instances and don't create them
  • when Model.get is called, the callback value is an instantiated Model

This allows to have a sublevel(https://github.com/dominictarr/level-sublevel / https://github.com/stagas/sublevel) for each Model.

I also added some tests (100% coverage).

Do you want me to do a PR, or should I keep my repo as an independent fork?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions