You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by "spmallette (via GitHub)" <gi...@apache.org> on 2026/08/13 15:52:18 UTC
[PR] Expand To Step reference docs with argument forms and a live example [tinkerpop]
spmallette opened a new pull request, #3623:
URL: https://github.com/apache/tinkerpop/pull/3623
The `to()` reference section (`reference/#to-step`) was a bare stub: it described `to()`'s arguments only as "traversals or strings", carried no runnable example, and its *Additional References* block had two mislabeled javadoc anchors.
This change, scoped to the To Step section only:
- Adds prose describing the three argument forms when modulating `addE()`:
- `to(String)` — a step-label previously set by `as()`.
- `to(Traversal)` — a child traversal that resolves to a vertex (or a vertex id).
- `to(Vertex)` — an explicit `Vertex` object (a language-variant convenience that resolves the vertex to its id).
- Adds a runnable `[gremlin-groovy,modern]` example demonstrating `addE().to()` with both an `as()`-label and a child traversal, so its `==>` output is rendered at doc-build time.
- Corrects the two *Additional References* links so `to(Direction,String...)` and `to(String)` point to their own javadoc anchors instead of the `to(Traversal)` anchor.
Built and rendered locally; the To Step example executes and renders its output correctly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Expand To Step reference docs with argument forms and a live example [tinkerpop]
Posted by "spmallette (via GitHub)" <gi...@apache.org>.
spmallette merged PR #3623:
URL: https://github.com/apache/tinkerpop/pull/3623
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Expand To Step reference docs with argument forms and a live example [tinkerpop]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #3623:
URL: https://github.com/apache/tinkerpop/pull/3623#issuecomment-5283139875
## [Codecov](https://app.codecov.io/gh/apache/tinkerpop/pull/3623?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 80.05%. Comparing base ([`a28cd1f`](https://app.codecov.io/gh/apache/tinkerpop/commit/a28cd1f2f1f10c140030a56de44c5c6c045af5f0?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`21dabaf`](https://app.codecov.io/gh/apache/tinkerpop/commit/21dabafdf65c409a685b8e9c2b4c8fe1d8183d32?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 501 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #3623 +/- ##
============================================
+ Coverage 76.35% 80.05% +3.69%
============================================
Files 1012 32 -980
Lines 60341 6913 -53428
Branches 7075 0 -7075
============================================
- Hits 46076 5534 -40542
+ Misses 11548 1053 -10495
+ Partials 2717 326 -2391
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/tinkerpop/pull/3623?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org