tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Hockmann (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TINKERPOP-2113) P.Within() doesn't work when given a List argument
Date Thu, 13 Dec 2018 15:07:00 GMT
Florian Hockmann created TINKERPOP-2113:

             Summary: 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

In short, this test fails with the modern graph:

var names = new List<string> {"josh", "vadas"};

var count = g.V().Has("name", P.Within(names)).Count().Next();

Assert.Equal(2, count);

but this works:

var count = g.V().Has("name", P.Within("josh", "vadas")).Count().Next();

Assert.Equal(2, count);;
for which we already have a test case.

This message was sent by Atlassian JIRA

View raw message