[ 
https://issues.apache.org/jira/browse/TINKERPOP-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17748690#comment-17748690
 ] 

ASF GitHub Bot commented on TINKERPOP-2802:
-------------------------------------------

vkagamlyk commented on code in PR #2174:
URL: https://github.com/apache/tinkerpop/pull/2174#discussion_r1277796819


##########
gremlin-go/driver/serializer.go:
##########
@@ -320,5 +321,12 @@ func initDeserializers() {
                // Metrics
                metricsType:          metricsReader,
                traversalMetricsType: traversalMetricsReader,
+
+               // Customer
+               customType: customTypeReader,
+       }
+
+       customDeserializers = map[string]reader{

Review Comment:
   or alternatively, you may add something like `CustomTypeSerializerRegistry` 
to store serializers for all custom types





> Support Adding Custom Serializer for Gremlin Go
> -----------------------------------------------
>
>                 Key: TINKERPOP-2802
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2802
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: go
>    Affects Versions: 3.6.2
>            Reporter: Yang Xia
>            Priority: Major
>
> To enable mechanisms to add custom serializers in the Go driver, for 
> compatibility with database specific types outside of TinkerPop, such as the 
> JanusGraph RelationIdentifier. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to