spmallette commented on code in PR #3244: URL: https://github.com/apache/tinkerpop/pull/3244#discussion_r2441254950
########## docs/src/dev/provider/gremlin-semantics.asciidoc: ########## @@ -1138,9 +1138,8 @@ link:https://tinkerpop.apache.org/docs/x.y.z/reference/#call-step[reference] *Modulation:* * `option(pickToken, traversalOption)` - Adds a traversal option to the `choose` step. The `pickToken` is matched -against the result of the choice traversal. The `pickToken` may be a literal value, a predicate `P`, a `Traversal` -(whose first returned value is used for matching) or a `Pick` enum value. If a match is found, the traverser is routed -to the corresponding `traversalOption`. +against the result of the choice traversal. The `pickToken` may be a literal value, a predicate `P` or a `Pick` enum +value. `Traversal` is not allowed as a `pickToken` here and will lead to `IllegalArgumentException`. If a match is found, the traverser is routed to the corresponding `traversalOption`. Review Comment: nit: line feed -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
