Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #100 - Add support for tinkerpop gremlin server 3.3 (GraphSONMessageSerializerV3d0) #101

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

ctdio
Copy link
Contributor

@ctdio ctdio commented Jan 29, 2018

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.

@ctdio ctdio changed the title #100 Add support for tinkerpop gremlin server 3.3 (GraphSONMessageSerializerV3d0) Fixes #100 - Add support for tinkerpop gremlin server 3.3 (GraphSONMessageSerializerV3d0) Jan 29, 2018
@ctdio
Copy link
Contributor Author

ctdio commented Jan 31, 2018

@jbmusso could I get some feedback on this PR?

@jbmusso jbmusso merged commit 137c104 into jbmusso:master Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants