Skip to content

improve parser-based validation for SpEL snippets #1237

Closed
@martinlippert

Description

@martinlippert

At the moment, the validation logic for SpEL expressions is pretty simple using the standard SpEL parser that comes with Spring itself. If the parser reports a problem while parsing, this problem is reported as a diagnostic for the whole expression.

The goal is to use a more sophisticated diagnostics detection for SpEL expressions and report more fine grained and detailed diagnostics. Maybe we need to adopt an ANTLR-based parser for this (instead of the standard SpEL parser), but that depends on the features the parser offers for this more detailed diagnostics.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions