[
https://issues.apache.org/jira/browse/TINKERPOP-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marko A. Rodriguez closed TINKERPOP-717.
----------------------------------------
Resolution: Won't Fix
There has not been any activity on this ticket. If people feel that this is
important, please re-open. Closing it for now.
> assert step
> -----------
>
> Key: TINKERPOP-717
> URL: https://issues.apache.org/jira/browse/TINKERPOP-717
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.0.2-incubating
> Reporter: Matt Frantz
>
> Consider a step that allows specifying a traversal that must be proven. In
> conjunction with a strategy that removes such steps for "production", this
> would provide the "assert" capability in many languages.
> {code}
> GraphTraversal assert(Traversal t)
> {code}
> The logic would be that if {{t}} does not produce a traverser, then an
> assertion exception would be raised.
> We probably can't call it {{assert}} because it is a reserved word in many
> languages.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)