kenhuuu commented on code in PR #3518:
URL: https://github.com/apache/tinkerpop/pull/3518#discussion_r3604820443


##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/GremlinScriptChecker.java:
##########
@@ -178,7 +197,9 @@ public class GremlinScriptChecker {
             Pattern.compile("\\.with\\((((?:"
                     + timeoutTokens + "),(?<to>\\d*)(:?L|l)?)|((?:"
                     + materializePropertiesTokens + 
"),[\"'](?<mp>.*?)[\"']?)|((?:"
-                    + requestIdTokens + "),[\"'](?<rid>.*?)[\"']))\\)");
+                    + languageTokens + "),[\"'](?<lang>.*?)[\"'])|((?:"
+                    + batchSizeTokens + "),(?<bs>\\d+))|((?:"

Review Comment:
   Yea, I noticed this too, but I figured giving the default was better than 
returning a 400 for this particular case.



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

Reply via email to