Extension: CrudRestController #2736
Labels
Extensions
feature parity
feature
REST
Issues related to @loopback/rest package and REST transport in general
Milestone
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 CrudController class. See #740 for inspiration.
Acceptance criteria
A new extension (let's call it
@loopback/rest-crud
) providing a base Controller class (let's call itCrudRestController
) implementing typical CRUD operations usingCrudRepository
injected via constructor argument.The methods provided by the controller should be exactly the same as we are scaffolding via
lb4 controller
Minimal documentation - a "Basic Use" section in extension package's README is enough.
Test coverage, including end-to-end tests (making HTTP requests to an app).
Out of scope
The text was updated successfully, but these errors were encountered: