Skip to content

Commit

Permalink
CTR touchup docs and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Cole-Greer committed Mar 22, 2024
1 parent f7c64da commit dd7cb24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* Fixed bug in bytecode translation of `g.tx().commit()` and `g.tx().rollback()` in all languages.
* Improved error message from `JavaTranslator` by including exception source.
* Added missing `short` serialization (`gx:Int16`) to GraphSONV2 and GraphSONV3 in `gremlin-python`.
* Added tests for error handling for GLV's if `tx.commit()`` is called remotely for graphs without transactions support.
* Added tests for error handling for GLV's if `tx.commit()` is called remotely for graphs without transactions support.
* Introduced multi-architecture AMD64/ARM64 docker images for gremlin-console.
* Fixed bug in `JavaTranslator` where `has(String, null)` could call `has(String, Traversal)` to generate an error.
* Fixed issue where server errors weren't being properly parsed when sending bytecode over HTTP.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ protected Iterator<Vertex> flatMap(final Traverser.Admin<S> traverser) {
// attach the onMatch properties
vertices = IteratorUtils.peek(vertices, v -> {

// override current traverser with the matched Edge so that the option() traversal can operate
// override current traverser with the matched Vertex so that the option() traversal can operate
// on it properly. this should only work this way for the start step form to retain the original
// behavior for 3.6.0 where you might do g.inject(Map).mergeV() and want that Map to pass through.
// in 4.x this will be rectified such that the edge will always be promoted and you will be forced
// in 4.x this will be rectified such that the vertex will always be promoted and you will be forced
// to select() the map if you did want the behavior.
if (isStart) traverser.set((S) v);

Expand Down

0 comments on commit dd7cb24

Please sign in to comment.