Skip to content

Reuse kvGet in KVStore init implementations #343

@grypez

Description

@grypez

Instead of branching the behavior of kvGet on a boolean argument and assigning named curries, let us defined separate implementations for get and getRequired, where the latter is composed from by the former. This should be done in the extension, kernel, and nodejs implementations of kvStore.

During implementation, consider kvStore abstraction.

Originally posted by @rekmarks in #311 (comment)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions