Skip to content

Replace Bytecode with GremlinLang in .NET driver#3309

Merged
xiazcy merged 3 commits intodotnet-httpfrom
dotnet-gremlang
Mar 10, 2026
Merged

Replace Bytecode with GremlinLang in .NET driver#3309
xiazcy merged 3 commits intodotnet-httpfrom
dotnet-gremlang

Conversation

@xiazcy
Copy link
Copy Markdown
Contributor

@xiazcy xiazcy commented Feb 26, 2026

This PR replaces Bytecode with GremlinLang in the .NET Gremlin driver, aligning gremlin-dotnet with the 4.0 format already implemented in Java, Python, and Go.

3 new files were added, GremlinLang.cs, GValue.cs, and GremlinLangTests.cs. All files with Bytecode reference were replaced with GremlinLang. Bytecode specific files as well as all Groovy translator files were deleted.

Note this PR is opened against a feature branch for the 4.0 .NET driver, which will be merged into master after all components are completed. As well, current test are unit tests only, additional changes may be needed once HTTP protocol and serialization are properly implemented with Gherkin tests enabled.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: the naming of each unit test in this file is not in line with the rest of this repo. Tests generally named with a "should...", not really a big problem but it makes it difficult to understand what exactly each test is trying to test.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm current leaning towards leaving the test name consistent across GLVs. We could revisit and change the names later.

@xiazcy
Copy link
Copy Markdown
Contributor Author

xiazcy commented Mar 6, 2026

VOTE +1

1 similar comment
@kenhuuu
Copy link
Copy Markdown
Contributor

kenhuuu commented Mar 10, 2026

VOTE +1

Copy link
Copy Markdown
Contributor

@Cole-Greer Cole-Greer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VOTE +1

@xiazcy xiazcy merged commit e63c2dc into dotnet-http Mar 10, 2026
32 checks passed
@xiazcy xiazcy deleted the dotnet-gremlang branch March 10, 2026 22:46
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.

3 participants