Closed helio-frota closed 3 years ago
The first one @eprogramming was discussed on the beginning of the project that it keeps the dependencies more clear and more useful for unit testing
Yeah that was decided in the beginning, unfortunately CDI still have this problem with default constructors, but with the injection in the controller is easier to test and create mocks, so i kind of liked it
@eprogramming whats mean this Closed? Will keep constructors or injection on attribute?
hi @paulojribp good catch, i closed this. well i'm going to use injection on attribute and wait / maybe research better approach for the tests.
From:
To: