šŸƒ #SpringFramework 7.1 will support compilation of #SpEL expressions that use java.util.Optional with the null-safe & Elvis operators.

See examples in the tests if you're interested.

https://github.com/spring-projects/spring-framework/commit/9c8535f5e4f8e38c48a43043d3976db1408c7ed9

Compile SpEL expressions that use Optional with null-safe & Elvis ope… Ā· spring-projects/spring-framework@9c8535f

…rators In Spring Framework 7.0, we introduced support for using `Optional` with the null-safe and Elvis operators in SpEL expressions; however, such expressions were previously not compilable. T...

GitHub