xiazcy commented on code in PR #2284:
URL: https://github.com/apache/tinkerpop/pull/2284#discussion_r1358912644


##########
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/handler/HttpGremlinRequestEncoder.java:
##########
@@ -71,6 +71,7 @@ protected void encode(final ChannelHandlerContext 
channelHandlerContext, final R
                 gremlin = gremlinStringOrBytecode.toString();
             }
             final byte[] payload = mapper.writeValueAsBytes(new 
HashMap<String,Object>() {{
+                this.putAll(requestMessage.getArgs());
                 put(Tokens.ARGS_GREMLIN, gremlin);
                 put(Tokens.REQUEST_ID, requestMessage.getRequestId());

Review Comment:
   The `Tokens.ARGS_GREMLIN` here replaces the `gremlin` stuff in the original 
request with the processed ones above, so it'd be needed (this was the easier 
way)



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