This PR adds support usage with Tinkerpop Gremlin Server 3.3 (which uses GraphSONMessageSerializerV3d0).
A lot of the changes come from prettier doing it's formatting. The main change is in executeHandler.js and GremlinClient.js, which in both cases simply tries to use the data object's @value property if it exists and will fallback to using data. The rest of the changes were done to allow tests to be run with both 3.2 and 3.3.
I was originally going to normalize the incoming data into a nicer format (the new format is a pain to parse), but it is probably best to offload that work to consumers of this library.
This PR adds support usage with Tinkerpop Gremlin Server 3.3 (which uses GraphSONMessageSerializerV3d0).
A lot of the changes come from
prettier
doing it's formatting. The main change is inexecuteHandler.js
andGremlinClient.js
, which in both cases simply tries to use thedata
object's@value
property if it exists and will fallback to usingdata
. The rest of the changes were done to allow tests to be run with both 3.2 and 3.3.I was originally going to normalize the incoming data into a nicer format (the new format is a pain to parse), but it is probably best to offload that work to consumers of this library.