spring-projects / spring-projects/spring-boot
Generate org.springframework.boot.autoconfigure.AutoConfiguration.imports file automatically
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
This one isn't a big issue anyway but I feel like @AutoConfiguration annotation should be enough to indicate the intention of the developer to create an autoconfiguration that should be automatically registered.
Personally, I feel META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports might be redundant, though I might be missing some use cases the team has previously thought of. Even if the idea is for this not to happen automatically for some "user-protection" reasons, I believe it would be nice to offer a parameter on the annotation to opt-in. Something like register(boolean register) that can default to false.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the @AutoConfiguration annotation and the META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports file mentioned in the issue. Review existing use cases and team discussion before deciding whether registration should be automatic or opt-in. Done requires a settled design and corresponding implementation or a documented decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100