-
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
Extensions Architecture #543
Comments
I personally prefer the explicit approach where mixins override |
To add some context, here is the description of https://wiki.eclipse.org/FAQ_What_are_extensions_and_extension_points%3F LoopBack Next components are roughly equivalent to Eclipse plugins. With mixins, extension implementations need to have a dependency on the extension point. Extension developers are required to write code to stitch extension behaviors into the extension point logic by adding new methods or overriding existing ones. And that's repetitive for each extensions too. Individual extensions might not have enough knowledge to fully control how they fit into the extension point as extension point is not in charge of the coordination any more. |
In summary, we need to come up a consistent way to support the following pattern using rest servers as an example:
|
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 |
Labelling as post-ga. For 4.0 GA, we are starting with a different set of spikes - see #1034 |
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 |
Description/Steps to reproduce
The current approach to a mixin extension may require implemented methods to be overridden by an extension developer. This can prove to be an issue if an extension developer doesn't call
super.method()
(unless it's intentional).The ticket is to discuss and explore the idea of having extension points in our application to make it easy for extension developers to create extensions. From my understand an example would be to automatically look for a function to handle a given extension point. For Ex: What functions / extensions can handle
repositories
. Call the appropriate registered extensions. What can handlecontrollers
?Original Meeting Notes
Related
#541 (comment)
#541 (comment)
The text was updated successfully, but these errors were encountered: