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

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

andreachild commented on code in PR #3024:
URL: https://github.com/apache/tinkerpop/pull/3024#discussion_r1947276318


##########
gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/test/features/filter/Discard.feature:
##########
@@ -46,4 +46,64 @@ Feature: Step - discard()
     When iterated to list
     Then the result should be empty
 
+  Scenario: g_V_discard
+    Given the modern graph
+    And the traversal of
+      """
+      g.V().discard()
+      """
+    When iterated to list
+    Then the result should be empty
+
+  Scenario: g_V_discard_none

Review Comment:
   Should this be `discard_discard`?





> Better consistency for none()/discard() usage
> ---------------------------------------------
>
>                 Key: TINKERPOP-3130
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3130
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: language, process
>    Affects Versions: 3.7.3
>            Reporter: Stephen Mallette
>            Priority: Minor
>
> {{g.V().none().path()}} should work and does so in the console, but the 
> grammar fails to parse it because it treats {{none()}} in a special way.



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

Reply via email to