[ 
https://issues.apache.org/jira/browse/TINKERPOP-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125623#comment-18125623
 ] 

ASF GitHub Bot commented on TINKERPOP-3059:
-------------------------------------------

Iryna-Kahamlyk opened a new pull request, #3714:
URL: https://github.com/apache/tinkerpop/pull/3714

   JIRA: https://issues.apache.org/jira/browse/TINKERPOP-3059
   
   **Summary**
   
   Prevented repeated `option(onCreate)`, `option(onMatch)`, `option(outV)` and 
`option(inV)` calls on `mergeV()` and `mergeE()`, which now throw an 
`IllegalArgumentException` instead of silently keeping only the last one.




> Prevent repeated option() calls to merge steps
> ----------------------------------------------
>
>                 Key: TINKERPOP-3059
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3059
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: language, process
>    Affects Versions: 3.7.1
>            Reporter: Stephen Mallette
>            Priority: Critical
>
> Could avoid some confusion if we prevented:
> {code}
> mergeV(...).
>   option(onCreate, ...).
>   option(onCreate, ...).
>   option(onCreate, ...)....
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to