apache / apache/logging-log4j2

[3.x] Remove the support for no-args methods annotated with `@Inject`

Open
#3,897 0 comments 0 reactions 0 assignees View on GitHub
api plugins
Dominant language
Java
Stars
3.6k
Forks
1.7k
Avg merge
21h 30m
Merged PRs (30d)
27

Description

[As discussed here](https://github.com/apache/logging-log4j2/pull/3877#discussion_r2284431460), DI in `3.x` supports no-args methods annotated with `@Inject` – yet there are no use cases, not even one we make use of ourselves. I suggest removing this unused feature to avoid an API bloat. We can always consider adding it back if need arises.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.