Extension: KeyValueRestController #2737
Labels
Extensions
feature parity
feature
REST
Issues related to @loopback/rest package and REST transport in general
stale
Part of From model definition to REST API with no custom repository/controller classes #2036
A new extension (npm package living in loopback-next monorepo) providing KeyValue Controller class. See #740 for inspiration.
Acceptance criteria
A new extension (let's call it
@loopback/rest-key-value
) providing a base Controller class (let's call itKeyValueRestController
) implementing typical KeyValue operations usingKeyValueRepository
injected via constructor argument.Minimal documentation - a "Basic Use" section in extension package's README is enough.
Detailed documentation, as a follow-up for From model definition to REST API with no custom repository/controller classes #2036
Test coverage, including end-to-end tests (making HTTP requests to an app).
Open a new issue to add the new extension to
lb4
CLI command (perhaps renamelb4 rest-crud
and change it to ask the user what pattern they want to use?).The text was updated successfully, but these errors were encountered: