You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/26 13:08:00 UTC

[jira] [Commented] (TINKERPOP-2113) P.Within() doesn't work when given a List argument

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

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

FlorianHockmann commented on pull request #1024: TINKERPOP-2113 Fix P.Within() for list arguments in Gremlin.NET
URL: https://github.com/apache/tinkerpop/pull/1024
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-2119
   
   This was apparently pretty much the same bug as with the problems we had earlier with the `inject()` step ([TINKERPOP-1972](https://issues.apache.org/jira/browse/TINKERPOP-1972)). So, the fix was also basically the same.
   
   All .NET tests pass.
   
   VOTE +1
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> P.Within() doesn't work when given a List argument
> --------------------------------------------------
>
>                 Key: TINKERPOP-2113
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2113
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: dotnet
>    Affects Versions: 3.2.10
>            Reporter: Florian Hockmann
>            Assignee: Florian Hockmann
>            Priority: Minor
>
> In short, this test fails with the modern graph:
> {code:c#}
> var names = new List<string> {"josh", "vadas"};
> var count = g.V().Has("name", P.Within(names)).Count().Next();
> Assert.Equal(2, count);
> {code}
> but this works:
> {code:c#}
> var count = g.V().Has("name", P.Within("josh", "vadas")).Count().Next();
> Assert.Equal(2, count);;
> {code}
> for which we already have a test case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)