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

Update GraphSONv4 labels, extended type names and edge properties. #2790

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

kenhuuu
Copy link
Contributor

@kenhuuu kenhuuu commented Sep 26, 2024

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

@xiazcy
Copy link
Contributor

xiazcy commented Sep 26, 2024

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"))
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@xiazcy
Copy link
Contributor

xiazcy commented Oct 1, 2024

VOTE +1

1 similar comment
@Cole-Greer
Copy link
Contributor

VOTE +1

@kenhuuu kenhuuu force-pushed the v4-graphson-updates branch from b479dce to edb4b8d Compare October 3, 2024 20:27
@kenhuuu kenhuuu merged commit f0e973d into master-http Oct 3, 2024
28 of 30 checks passed
@kenhuuu kenhuuu deleted the v4-graphson-updates branch October 3, 2024 21:52
kenhuuu added a commit that referenced this pull request Nov 2, 2024
kenhuuu added a commit that referenced this pull request Nov 3, 2024
kenhuuu added a commit that referenced this pull request Nov 3, 2024
kenhuuu added a commit that referenced this pull request Nov 3, 2024
kenhuuu added a commit that referenced this pull request Nov 3, 2024
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.

4 participants