-
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
Spikes for extension infrastructure #1034
Comments
Related issues: Related PRs:
|
Some context from the A typical LoopBack 4 application will be composed from multiple components. A component is the basic unit and it has both deployment and runtime views. The deployment view is module while the runtime view is context. A component can be the main application module, an embedded local module, or an installed npm module. I want to have main component to represent the application module to make it consistent. The relation is illustrated below: Each component can have declarative artifacts as well as programatic contributions. The bootstrapper can boot components so that declarative constructs can be populated in the context. The boot process connects the deployment view to the runtime view. The Application coordinates the composition of components. For example, app.boot() will locate a list of components (including the main one by the application module) and use the Bootstrapper to boot the components. Please note each component has a reference to the containing module and corresponding metadata from package.json or other files. The module metadata provides configuration such as project root and project layout version for the boot. An instance of Context is created per component. After boot, the component context is fully populated. The application can then compose all component contexts into app context (by merging or delegations). |
This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the |
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the |
Per discussion with @kjdelisle and @raymondfeng, created this epic.
Scope (for 4.0 GA)
For GA, do a spike story to confirm feasibility of each of the following extension use cases:
The text was updated successfully, but these errors were encountered: