It is common to have an epicMiddleware that includes dependencies.
In the current observable extension, it creates a default epicMiddleware which will not work for users with custom epicMiddleware.
In this PR, I simply added an argument to getObservableExtensionto allow user to pass custom epicMiddlewareto epicManger in the extension.
export function getObservableExtension(_epicMiddleware: EpicMiddleware<any>): IExtension;
It is common to have an
epicMiddleware
that includes dependencies. In the current observable extension, it creates a defaultepicMiddleware
which will not work for users with customepicMiddleware
. In this PR, I simply added an argument togetObservableExtension
to allow user to pass customepicMiddleware
toepicManger
in the extension.