ydayagi opened a new issue, #2179:
URL: https://github.com/apache/incubator-kie-kogito-apps/issues/2179

   ### Describe the bug
   
   I am testing querying variables
   this query works:
   **{"query":"{
     ProcessInstances(
       where: {
         and: [
          {
           processId: {isNull: false}
          },
          {
           variables: {
             stam: {
               equal: \"yaron\"
             }
           }
          },
          {
           processId:{in: [\"yamlgreet\"]}
          }
         ]
       }
       orderBy: {start: DESC}
       pagination: {limit: 100, offset: 0}
     ) {
       id
       processId
     }}"}**
   this one does not:
   **{
       "query": "{\n  ProcessInstances(\n    where: {and: [{processId: {isNull: 
false}}, {variables: {stam: {equal: \n\"yaron\"}}}]}\n    orderBy: {start: 
DESC}\n    pagination: {limit: 50, offset: 1}\n  ) {\n    id\n    
processId\n}\n}"
   }**
   if I remove the variables part in where clause then it works. I tried 
various options and they all fail.
   It seems that the variables field has a special handling that does not 
handle indentation and spacing well.
   @fjtirado confirmed it
   
   ### Expected behavior
   
   _No response_
   
   ### Actual behavior
   
   _No response_
   
   ### How to Reproduce?
   
   _No response_
   
   ### Output of `uname -a` or `ver`
   
   _No response_
   
   ### Output of `java -version`
   
   _No response_
   
   ### GraalVM version (if different from Java)
   
   _No response_
   
   ### Kogito version or git rev (or at least Quarkus version if you are using 
Kogito via Quarkus platform BOM)
   
   _No response_
   
   ### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
   
   _No response_
   
   ### Additional information
   
   _No response_


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