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
{{ message }}
Repository navigation
Can cel-java support skipping the type checker , just like the Aviator framework #839
I am developing a visual and draggable node workflow platform based on LLM applications, where two node types are related to this issue.
One is the HTTP calling node, and the results returned by HTTP calls are all JSON strings, and I cannot exhaustively list the JSON structures of the return results of endpoints configured by different users.
The other is the HTTP call result verification node, which allows users to fill in a cel expression to check whether the result of the previous HTTP call node meets expectations.
Let me show an example, if the result returned by the HTTP calling node is a JSON string:
This JSON will be converted into a map and used as a variable in the eval method.
The CEL configured for the HTTP result verification node is data.jobId! = null && status ==1
If I cannot skip the variable type check validation, I must extract each key from the JSON string returned by HTTP calling result, map the type of value to celType, and finally use addVar method to CelCompiler.
This is really troublesome, so can I skip the type checker without setting addVar at the same time.
changed the title [-]Can it support skipping variable type checks[/-][+]Can cel-java support skipping the type checker , just like the Aviator framework for simple usage[/+]on Oct 10, 2025
changed the title [-]Can cel-java support skipping the type checker , just like the Aviator framework for simple usage[/-][+]Can cel-java support skipping the type checker , just like the Aviator framework[/+]on Oct 10, 2025
Activity
[-]Can it support skipping variable type checks[/-][+]Can cel-java support skipping the type checker , just like the Aviator framework for simple usage[/+][-]Can cel-java support skipping the type checker , just like the Aviator framework for simple usage[/-][+]Can cel-java support skipping the type checker , just like the Aviator framework[/+]l46kok commentedon Oct 10, 2025
If you have the option of populating your json map into a variable, you would just have to declare the variable once (ex:
json_var.data.jobId)Direct evaluation of parsed-only expressions is not supported in CEL-Java at the moment, I'm afraid. See: #276