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

Navgeet commented on TINKERPOP-2828:
------------------------------------

Correct, I'm using JanusGraph. Do you think it would be better to not throw an 
error and rather return nil in case of Janus?

Is it possible to somehow detect the type and transparently use the correct 
deserializer?

> Golang driver cannot deserialize edge id
> ----------------------------------------
>
>                 Key: TINKERPOP-2828
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2828
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: go
>    Affects Versions: 3.6.1, 3.5.4
>            Reporter: Navgeet
>            Priority: Major
>              Labels: golang
>         Attachments: main.go
>
>
> The issue occurs when we call {{ElementMap}} for edges. On further debugging, 
> I found {{label}} can be deserialized but not {{{}id{}}}.
>  
> {noformat}
> Error occurred during operation gremlinServerWSProtocol.readLoop(): 'E0408: 
> unknown data type to deserialize 0x0'
> Read loop error 'E0408: unknown data type to deserialize 0x0', closing read 
> loop.
> Connection error callback invoked, closing protocol.
> E0408: unknown data type to deserialize 0x0
> {noformat}
> Please see attached code for reproducing the issue.
>  



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

Reply via email to