Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add defineCrudRepositoryClass - a helper to create a named repository class #3733

Closed
4 tasks
bajtos opened this issue Sep 13, 2019 · 1 comment
Closed
4 tasks
Assignees
Labels
feature Repository Issues related to @loopback/repository package

Comments

@bajtos
Copy link
Member

bajtos commented Sep 13, 2019

This is a follow-up for the spike #3617.

Add defineCrudRepositoryClass to @loopback/rest-crud, this function should create a named repository class for the given Model class.

Example implementation (notice wrong function name):

https://github.com/strongloop/loopback-next/blob/2848a1b3e4c62da88cfd3edc966e8267768cf326/packages/rest-crud/src/repository-builder.ts#L14-L36

Acceptance criteria

  • Implementation
  • Automated tests
  • API docs
  • Add a code example to rest-crud README
@hacksparrow
Copy link
Contributor

Closed via #3867

@dhmlau dhmlau added this to the Oct 2019 milestone milestone Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Repository Issues related to @loopback/repository package
Projects
None yet
Development

No branches or pull requests

3 participants