You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is impossible to replace default view loader for ViewManager because ViewLoader is hardcoded. I'd suggest replacing ViewLoader with LoaderInterface. My use case is loading templates from database.
This is ok as a temporary solution, but this behavior is confusing at least. Any type check (for example if container did one at the end of get() call) is going to fail because technically DatabaseViewLoader is neither ViewLoader, nor it's child (because ViewLoader is final)
Description
It is impossible to replace default view loader for ViewManager because ViewLoader is hardcoded. I'd suggest replacing ViewLoader with LoaderInterface. My use case is loading templates from database.
The text was updated successfully, but these errors were encountered: