spring-projects / spring-projects/spring-boot
Use RouterFunction or plain Controller for BasicErrorController instead of @Controller
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
There are only a few endpoints and none of them is very complex. It would be nice to have an annotation (reflection) free implementation. Wouldn't make much difference to most Spring Boot apps in a regular JVM, but it has a bigger impact on native images (where @RequestMapping is expensive).
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 locating BasicErrorController and mapping the few endpoints it currently exposes. Review the surrounding error-handling tests and native-image considerations, then verify that an annotation/reflection-free implementation preserves the existing endpoint behavior and works for native images.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- api, backend, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100