Conditional Modules #93
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature Request
Sub-Project
This is regarding:
Description
Commandler should be able to set a controller as conditional based on a predicate.
For example, if a module requires an API key to function, but the API key is not provided,
instead of deploying a broken module, we can instead log that the module has been omitted due to the conditional check.
This may come off similar to the testing logic to enable/disable a module, but this is meant to be different.
The testing logic to disable poorly behaving modules, and checks post initialization. The conditional check to load a module in the first place is for applications that may intentionally leave something unloaded during initialization.
This should probably be contributed to DeltaSpike rather than in Commandler.
Interface