New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for SimpleEvaluationContext in SpEL [SPR-16588] #21130

Closed
spring-issuemaster opened this Issue Mar 13, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

spring-issuemaster commented Mar 13, 2018

Rossen Stoyanchev opened SPR-16588 and commented

StandardEvaluationContext provides more options than are actually required for many common uses cases (e.g. data binding expressions, property based filters, etc) where the goal is to provide a little extra flexibility but not necessarily expose the full extent of the SpEL language. Arguably there should be a more basic EvaluationContext that meaningfully restricts the SpEL language and the set of relevant configuration options to what is relevant for those scenarios, optimizing guidance and SpEL resolution performance for the particular scenario.


Affects: 4.3.14, 5.0.4

Issue Links:

  • DATACMNS-1282 Use SimpleEvaluationContext in MapDataBinder ("is depended on by")
  • #21481 Performance degradation in SPEL expression evaluation
  • SWF-1722 Use SimpleEvaluationContext in AbstractMvcView
  • #21244 Incomplete backport of DefaultSubscriptionRegistry changes for SPR-16588

Backported to: 4.3.15

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator

spring-issuemaster commented Mar 21, 2018

Juergen Hoeller commented

Reopened for considering the new DataBindingPropertyAccessor as well as a builder API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment