You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by "phanindhra876 (via GitHub)" <gi...@apache.org> on 2023/07/05 17:55:10 UTC

[GitHub] [tinkerpop] phanindhra876 commented on a diff in pull request #2115: [TINKERPOP-2963] Introduce new mimeType to use Graphson-1.0 text serializer

phanindhra876 commented on code in PR #2115:
URL: https://github.com/apache/tinkerpop/pull/2115#discussion_r1253447728


##########
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/ser/Serializers.java:
##########
@@ -54,6 +55,8 @@ public MessageSerializer<?> simpleInstance() {
                 return new GraphSONMessageSerializerV3d0();
             case SerTokens.MIME_GRAPHSON_V1D0:
                 return new GraphSONMessageSerializerGremlinV1d0();
+            case SerTokens.MIME_GRAPHSON_V1D0_SPARSE:

Review Comment:
   On server side it depends on the order of serializers defined in serializerSettings. Which is the first in the serializerSettings field will be picked for application/json.
   
   I believe this snippet of code is used in gremlin driver. Not sure how it works on client side.



-- 
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: commits-unsubscribe@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org