-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[CLI] Use a custom Repository base class #2149
Comments
@bajtos Hi, I started to work on this issue and I'm preparing a PR. What will be the expected result when the DS type does not match with the base repository provided as an argument? Remember that at this moment we are looking only to filenames and not the file contents. |
@gczobel-f5 , saw your PR https://github.com/strongloop/loopback-next/pulls, so I'm assigning this task to you. Thanks. |
PR #2235 |
Application developers invoking
lb4 repository
should be able to specify a custom Repository class to inherit from. This repository can be defined in a 3rd-party extension or inside the application project.At minimum, the CLI should accept custom class name (+ import path?):
Even better, there should be a mechanism allowing extensions (npm packages) and applications to define custom Repository implementations in such way that
lb4 repository
can pick them and create a list of available repositories for the CLI user to pick from.See also #2095 (comment)
The text was updated successfully, but these errors were encountered: