The controllers should allow TranslationInterface from the component too
Opened this issue · 2 comments
Nyholm commented
Currently we only allow TranslationInterface from Contracts. We should allow the same interface from the component too.
Symfony 3.4 is not using contracts.
rvanlaak commented
rvanlaak commented
The controller uses translations for the exception messages. The exception messages will not be visible to users, as on prod
the exception message will not get shown.
In other words; the translations in the controller and the translation files can get removed, and thereby the dev dependency on symfony/translation
also can get removed.