spring-projects / spring-projects/spring-data-rest
Move off Expression infrastructure to apply JSON Patch paths
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
We should investigate an alternative data binding infrastructure to avoid using expressions. While SimpleEvaluationContext is a good sandbox, SpEL provides too many options that could lead to a potential escaping of the sandbox.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by locating the current Expression-based data binding and reviewing how SimpleEvaluationContext and SpEL are used. Investigate an alternative based on JSON Patch paths and define completion as moving away from the Expression infrastructure while retaining safe data binding. No source files or tests are identified, so locating the affected implementation and coverage is part of the work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend, security
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100