Skip to content

Fix broken C# examples in the Gremlin.Net differences reference - #3681

Merged
spmallette merged 1 commit into
apache:masterfrom
spmallette:tp-docs-gremlin-dotnet-differences-170
Sep 25, 2026
Merged

spmallette merged 1 commit into
apache:masterfrom
spmallette:tp-docs-gremlin-dotnet-differences-170

Conversation

@spmallette

Copy link
Copy Markdown
Contributor

Correct two static C# snippets in the Gremlin.Net "Differences" section so they compile against the Gremlin.Net API. The ElementMap() example now supplies the explicit generic (ElementMap()) that the section itself requires, and the cardinality prose uses the real PascalCase members CardinalityValue.List(value), CardinalityValue.Set(value), and CardinalityValue.Single(value), with a short usage example. Also reorder the section so the null-key GroupCount discussion is contiguous and the cardinality note reads last.

Correct two static C# snippets in the Gremlin.Net "Differences" section so
they compile against the Gremlin.Net API. The ElementMap() example now
supplies the explicit generic (ElementMap<object>()) that the section itself
requires, and the cardinality prose uses the real PascalCase members
CardinalityValue.List(value), CardinalityValue.Set(value), and
CardinalityValue.Single(value), with a short usage example. Also reorder the
section so the null-key GroupCount discussion is contiguous and the
cardinality note reads last.

Assisted-by: Kiro:claude-opus-4.8
@spmallette
spmallette merged commit 6c3601f into apache:master Sep 25, 2026
6 checks passed
@spmallette
spmallette deleted the tp-docs-gremlin-dotnet-differences-170 branch September 25, 2026 15:22
@codecov-commenter

codecov-commenter commented Sep 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.73%. Comparing base (a28cd1f) to head (47071b0).
⚠️ Report is 649 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3681      +/-   ##
============================================
+ Coverage     76.35%   76.73%   +0.37%     
- Complexity    13424    14341     +917     
============================================
  Files          1012     1037      +25     
  Lines         60341    64761    +4420     
  Branches       7075     7695     +620     
============================================
+ Hits          46076    49695    +3619     
- Misses        11548    11974     +426     
- Partials       2717     3092     +375     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants