Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2113

P.Within() doesn't work when given a List argument

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.10
    • Fix Version/s: 3.4.0, 3.3.5
    • Component/s: dotnet
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Florian Hockmann Florian Hockmann
                Reporter:
                Florian Hockmann Florian Hockmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: