Skip to content
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

allow app parameters to be defined by spel #91

Open
parisni opened this issue Oct 1, 2024 · 1 comment
Open

allow app parameters to be defined by spel #91

parisni opened this issue Oct 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@parisni
Copy link

parisni commented Oct 1, 2024

currently app parameters are statics. Would be nice to allow spel to generate the parameters.

  parameters:
    definitions:
      - id: myParameter
    value-sets:
      - values:
          myParameter: #{myCsvList}
@LEDfan LEDfan added the enhancement New feature or request label Oct 28, 2024
@LEDfan
Copy link
Member

LEDfan commented Oct 28, 2024

We could add this feature, but it would be good to know how you would this feature.
What values would you use in the SpEL expressions? The parameters must be generated before the app is started, therefore the only input to the SpEL expression would be the information of the current user. Would this be sufficient?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants