-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Have extensions trigger from another extension getting loaded #48734
Comments
To give a more specific example to elaborate the specific use-case: I have some numerical package with works per default without MPI. The first extension provide the some basic MPI functionality, while the transient extension provides a bridge to specific solvers and matrix data types. However, since these bridges are rather small I think it would be better suited to have it as an extension instead of as separate packages. |
I wonder if this isn't enough to solve this:
We would just have to make sure that ExtBase gets loaded before ExtAdvanced. |
This should also be fine, if there is an efficient way to do it and if it does not interfere with other requirements for extensions. |
A feature request regarding extensions (from @termi-official).
Being able to write:
which would cause
ExtAdvanced
to be loaded ifExtBase
(and the rest of the weak deps dependencies for it) are loaded. You should then be able to get a handle toExtBase
insideExtAdvanced
. This is so you can extend methods in the parent for types defined insideExtBase
.The text was updated successfully, but these errors were encountered: