spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
55.28k stars 37.62k forks source link

Add `IndexAccessor` support to SpEL's `SimpleEvaluationContext` #32702

Closed sbrannen closed 3 weeks ago

sbrannen commented 3 weeks ago

Overview

When we introduced the IndexAccessor SPI in 6.2 M1, we added support for configuring custom index accessors in a StandardEvaluationContext but not in a SimpleEvaluationContext.

In retrospect, we should add IndexAccessor support to SimpleEvaluationContext to align with existing support for PropertyAccessor.

Related Issues