spmallette commented on code in PR #1700:
URL: https://github.com/apache/tinkerpop/pull/1700#discussion_r899215277
##########
gremlin-go/driver/request.go:
##########
@@ -83,6 +88,85 @@ func makeBytecodeRequest(bytecodeGremlin *Bytecode,
traversalSource string, sess
}
}
+// allowedReqArgs contains the arguments that will be extracted from the
+// bytecode and sent with the request.
+var allowedReqArgs = map[string]bool{
+ "evaluationTimeout": true,
+ "scriptEvaluationTimeout": true,
Review Comment:
`scriptEvaluationTimeout` was technically removed in 3.5.0:
https://issues.apache.org/jira/browse/TINKERPOP-2295 if there are remnants of
it still around, that is probably a mistake. there are some graphs that quietly
still support it in 3.5.x, but i don't think TinkerPop needs to continue to
quietly do the same. and gremlin-go is new so why bother to allow folks to
write code that uses deprecated/removed things. Just seems like we'd be adding
things to forget to remove later 🙂
--
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]