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
Since 3.1, it is impossible to use a custom implementation of Nette\Application\UI\ITemplateFactory (Nette\Application\UI\TemplateFactory since 3.1) with Nette\Bridges\ApplicationDI\LatteExtension.
Steps To Reproduce
implement ITemplateFactory
register it as your template factory service (latte.templateFactory)
Version:
3.1.*
Since 3.1, it is impossible to use a custom implementation of
Nette\Application\UI\ITemplateFactory
(Nette\Application\UI\TemplateFactory
since 3.1) withNette\Bridges\ApplicationDI\LatteExtension
.Steps To Reproduce
ITemplateFactory
latte.templateFactory
)What's going on
LatteExtension registers an on-compile call to
LatteExtension::initLattePanel
that has a type hint for the concrete implementationNette\Bridges\ApplicationLatte\TemplateFactory
and not the interface, causingTypeError
.The text was updated successfully, but these errors were encountered: