Hello hello!
This issue is to open the discussion on dependency injection to simplify development
I've created a POC (NotToDisturb@e3cd9e6) using Dagger and Lombok, the tools I'm most familiar with.
The changes are not E2E, changed just enough to show the potential in terms of reducing dependency across classes, among other things.
Lombok also brings other benefits like:
- Less constructors by using the
@RequiredArgsConstructor decorator (constructors with logic will still be needed)
- No longer needing to declare the logger (instead using the
@Slf4j decorator)
- Not showcased here, but tags like
@Builder, @Value, @Getter and @Setter simplify data class creation and more (I can publish a POC for this too)
Thoughts?
PS: Didn't create this as a PR as it would include the changes from #76
Hello hello!
This issue is to open the discussion on dependency injection to simplify development
I've created a POC (NotToDisturb@e3cd9e6) using Dagger and Lombok, the tools I'm most familiar with.
The changes are not E2E, changed just enough to show the potential in terms of reducing dependency across classes, among other things.
Lombok also brings other benefits like:
@RequiredArgsConstructordecorator (constructors with logic will still be needed)@Slf4jdecorator)@Builder,@Value,@Getterand@Settersimplify data class creation and more (I can publish a POC for this too)Thoughts?
PS: Didn't create this as a PR as it would include the changes from #76