-
Notifications
You must be signed in to change notification settings - Fork 213
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
Make it easier to use JQ interpolation #3307
Comments
fjtirado
added a commit
to fjtirado/kogito-runtimes
that referenced
this issue
Dec 4, 2023
As proposed in the issue description, remove the need for initial quoutes in case of string interpolation
fjtirado
added a commit
to fjtirado/kogito-runtimes
that referenced
this issue
Dec 4, 2023
As proposed in the issue description, remove the need for initial quoutes in case of string interpolation
fjtirado
added a commit
to fjtirado/kogito-runtimes
that referenced
this issue
Dec 4, 2023
As proposed in the issue description, remove the need for initial quoutes in case of string interpolation
Merged
fjtirado
added a commit
to fjtirado/kogito-runtimes
that referenced
this issue
Dec 4, 2023
As proposed in the issue description, remove the need for initial quoutes in case of string interpolation
github-project-automation
bot
moved this from 📋 Backlog
to 🎯 Done
in 🦉 KIE Podling Board
Dec 5, 2023
rgdoliveira
pushed a commit
to kiegroup/kogito-runtimes
that referenced
this issue
Dec 13, 2023
* Fix apache#3307 - Easier string interpolation As proposed in the issue description, remove the need for initial quoutes in case of string interpolation * Alternative implementation using optional
fjtirado
added a commit
to fjtirado/kogito-runtimes
that referenced
this issue
Jan 10, 2024
* Fix apache#3307 - Easier string interpolation As proposed in the issue description, remove the need for initial quoutes in case of string interpolation * Alternative implementation using optional
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Right now to use JQ string interpolation in SWF you have to write
"description": "\"\\(.name) needs to be added to the JIRA developer team\""
Where as you can see there is a lot of escaping
It would be better to just write
"description": "\\(.name) needs to be added to the JIRA developer team"
Implementation ideas
Currently we are trying to evaluate if the string is an expression and if it is not assume hardcoded string. We can add an intermediate step to check if adding quotes to the string makes it an interpolated string expression.
The text was updated successfully, but these errors were encountered: