rgolangh commented on issue #3573:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/issues/3573#issuecomment-2233733768

   There is a delicate detail here - that the context variable used in the jq 
expression must exist at the state where this invocation happens. it is very 
easy to override context variables by other states and loose them. So lets say 
the usage of this openapi action is several state down the workflow, there is a 
huge chance .clustername would just be overwritten.
   
   How can we make sure this configkey selection strategy is easy to grasp, 
harder to ruin, easy to debug if needed ? can we analyze the states that 
overwrite the whole data context and warn? maybe at build time? but then again 
the config key is runtime mutable.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to