You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FWIW I am taking a deeper look into the SingleEvaluatedExpressionParser and how it works, my first guess is that there is only one branch/means of processing after matching a specific token for ctx and env
Expected Behavior
When using expression langauge coupled with bean ctx retrieval, I expect to be able to access beans such as
io.micronaut.context.env.Environment
Actual Behaviour
The project fails to compile stating:
[ksp] /path/to/bad/file/File.kt: Failed to parse evaluated expression [#{ ctx[io.micronaut.context.env.Environment].activeNames.contains('test') }]. Cause: Unexpected token: env. Expected: 'IDENTIFIER'
Steps To Reproduce
Environment Information
Example Application
https://github.com/hrothwell/micronaut-demo/tree/expression-language-environment-bean-issue
Specific class
Version
4.3.2
The text was updated successfully, but these errors were encountered: