Closed KonradHoeffner closed 2 years ago
Very good point @KonradHoeffner . I'll happily take a PR if you're able to but will do this myself if not. It's little things like this that cumulatively make life a lot easier for developers.
By the way, if you feel comfortable doing so, I'd be interested in hearing about your use-case for quadstore. Either privately or at https://github.com/beautifulinteractions/node-quadstore/discussions/112 .
I'm unfortunately not familiar enough with the codebase to create a PR but I shared our use case in #112, thanks!
Done, will be included in the next version.
I made the mistake of using
backend:memdown
instead ofbackend:memdown()
in the constructor of Quadstore:However this only throws an error when calling
store.open
:And the error message does not point out that the db is in the wrong format. It would be helpful if the constructor would throw an error that the backend is invalid.