Backends can be activated at runtime depending on the configuration or execution environment. This patch adds an OptionalBackend wrapper that implements Backend and ExtensionImpl but returns a RequestNotAvailable error if the inner backend is not set.
Backends can be activated at runtime depending on the configuration or execution environment. This patch adds an OptionalBackend wrapper that implements Backend and ExtensionImpl but returns a RequestNotAvailable error if the inner backend is not set.