spring-projects / spring-projects/spring-framework

Allow additional ParameterResolver implementations to be registered in SpringExtension

Open
#35,712 4 comments 0 reactions 1 assignee View on GitHub

@sbrannen is already working on this.

Since Oct 29, 2025.

in: test status: waiting-for-triage
Dominant language
Java
Stars
60.2k
Forks
38.8k
Avg merge
5d 2h
Merged PRs (30d)
27

Description

I am spiking on a few ideas around org.junit.jupiter.api.extension.ParameterResolver that requires access to the ApplicationContext. Since Spring Framework has support for @Autowired, I thought that looking at the code would help me apply the same pattern in my own implementation.

As far as I understand, the retrieval of the context has no public API. If that is correct, I'd like that a ParameterResolver implementation could get hold of the ApplicationContext based on an ExtensionContext.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.