-
Notifications
You must be signed in to change notification settings - Fork 821
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
Update GraphSONv4 labels, extended type names and edge properties. #2790
Conversation
VOTE +1 |
@@ -150,8 +162,10 @@ public void shouldHandlePath() throws Exception { | |||
extend("alice", new HashSet<>(Collections.singletonList("c"))); | |||
final String json = mapper.writeValueAsString(p); | |||
|
|||
if (version.startsWith("v1") || version.startsWith("v3") || version.startsWith("v4")) | |||
if (version.startsWith("v1") || version.startsWith("v3")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need tests for v1 and v3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably. The old GraphSONMappers should stay as they can be used with io(). It would be best if users updated their storage format to v4, but all versions should be provided so that the user can read in an older version then write into v4.
VOTE +1 |
1 similar comment
VOTE +1 |
b479dce
to
edb4b8d
Compare
These updates bring the implementation closer to the format specified in https://github.com/apache/tinkerpop/blob/master-http/docs/src/dev/io/graphson.asciidoc
VOTE +1