This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 237
Autowire problem since 1.2 because of $translator #945
Comments
Translator has been typed object in DatatableFactory for legacy purposes.
|
You can add a constructor to your UserDatatable class , If you insist on creating the service that's okay but with the default configuration a service is created automatically (Symfony 4)
To check if your service exists
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As $translator has no type-hint anymore in the AbstractDatatable class, I get an error when defining my Datatable like that
This is a datatable.yaml file imported in services.yaml
Well it says that $translator has no type-hint and should be configured explicitally.
The text was updated successfully, but these errors were encountered: