spring-projects / spring-projects/spring-framework

Add support for declaring requirements for an AOT contribution to run

Open
#35,931 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: core theme: aot type: enhancement
Dominant language
Java
Stars
60.2k
Forks
38.8k
Avg merge
5d 2h
Merged PRs (30d)
27

Description

We don't really have an API to express that something has to be enabled. For instance, Spring Data repositories may require some information about the data store. It could be some requirement interface that the application should provide.

When such implementation isn't present, or do not provide the necessary information, contributors may decide to fail hard or disable itself.

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.

Research direction

Start by surveying the Spring Framework APIs for AOT contributions and how Spring Data repositories currently obtain required data-store information. Define how an application would provide the requirement information and how contributors should behave when it is absent or insufficient; the issue is done when that API and its failure or disablement behavior are agreed and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.