kaldesai commented on code in PR #582:
URL: 
https://github.com/apache/incubator-kie-kogito-docs/pull/582#discussion_r1522592238


##########
serverlessworkflow/modules/ROOT/pages/core/understanding-jq-expressions.adoc:
##########
@@ -212,6 +253,15 @@ So, assuming you have added to your 
`application.properties` a line with the `my
 }
 ----
 
+`$SECRET` always returns a value of type string. If you want to use it in a 
comparison with a value that is not a string, you need to perform the 
conversion explicitly. In the next example, the `retries` property is a number, 
so we need to convert the property value accordingly by calling the `tonumber` 
built-in jq function. 

Review Comment:
   ```suggestion
   `$SECRET` always returns a value of type string. If you want to use it in a 
comparison with a value that is not a string, you must perform the conversion 
explicitly. In the next example, the `retries` property is a number, so we need 
to convert the property value accordingly by calling the `tonumber` built-in jq 
function. 
   ```



-- 
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