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

stephen mallette commented on TINKERPOP3-674:
---------------------------------------------

{{Graph.vertices()/edges()}} doesn't construct a {{Traversal}} for strategies 
to be applied.  It just returns an {{Iterator}}:

https://github.com/apache/incubator-tinkerpop/blob/4700471cd5cc33a43ea36de9e69909dcf3ef887b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java#L195

https://github.com/apache/incubator-tinkerpop/blob/4700471cd5cc33a43ea36de9e69909dcf3ef887b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java#L237



> Strategy to validate elements or ids
> ------------------------------------
>
>                 Key: TINKERPOP3-674
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-674
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: process
>            Reporter: Bryn Cooke
>
> There are several suite tests that require gremlin queries to be rejected if 
> values in a graph step or has step are not all IDs or all elements.
> This feels like something that can be validated at the tinkerpop level via a 
> strategy rather then requiring every graph vendor to validate this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to