mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 21:39:05 +00:00
Prior to this commit, the hints conditions were only supported for the `TypeHint` case. GraalVM generally expanded this concept to all hints and we should do the same. Right now, only the `typeReachable` condition is available but we should design for possible future additions. This commit introduces a new `ConditionalHint` contract implemented by all hints compatible with this approach. The condition information is also used in all configuration writers as a result. Closes gh-28126