Github user jorgebay commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/858#discussion_r184052492 --- Diff: gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js --- @@ -33,7 +33,7 @@ const responseStatusCode = { noContent: 204, partialContent: 206 }; -const defaultMimeType = 'application/vnd.gremlin-v2.0+json'; +const defaultMimeType = 'application/vnd.gremlin-v3.0+json'; --- End diff -- The user can configure to use GraphSON2 by setting the mime type when creating the `DriverRemoteConnection` instance: ```javascript const connection = new DriverRemoteConnection({ mimeType: 'application/vnd.gremlin-v2.0+json' }); ``` I think in any case, is highly unlikely a user would like to use a previous version of the serialization format with the newer version. It now defaults to GraphSON3 and all tests run using GraphSON3. I haven't changed the scripts to make a GraphSON2 and GraphSON3 run as one is a superset of the other.
---