tormodhau opened a new pull request, #1941:
URL: https://github.com/apache/tinkerpop/pull/1941

   Fixes: https://issues.apache.org/jira/browse/TINKERPOP-2853
   
   When reading a non-registered custom type with GraphBinary, a generic 
exception is thrown:
   
       System.Collections.Generic.KeyNotFoundException: The given key 
'janusgraph.RelationIdentifier' was not 
       present in the dictionary. 
   
   Now the following exception gets thrown instead:
   
       System.InvalidOperationException: No serializer found for type 
'janusgraph.RelationIdentifier'
   
   This is the same exception and message that gets throw when _writing_ a 
non-registered custom type. 
   
   The change has been verified by writing two new tests:
   
   - One to document the added _read_ behaviour
   - One to document the existing _write_ behaviour (which was undocumented)
   
   And running the `Gremlin.Net` test suite


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