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

Gherkin runner doesn't work with P.And() and P.Or() in Gremlin.Net

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.7
    • Fix Version/s: 3.2.8, 3.3.2
    • Component/s: dotnet
    • Labels:
      None

      Description

      Gremlin.Net has split P into two classes: P and TraversalPredicate. This is problematic for the Gherkin runner as it tries to call methods on P that are only in TraversalPredicate.

      We can now either let the Gherkin parser try to call P methods on both classes or we could also just merge those two classes together. I think the reason why they are split was simply that the methods in TraversalPredicate are written by hand whereas P is completely generated and I didn't want to write much code inside of Groovy strings that were part of the pom.xml before stephen mallette introduced templates for the GLV generation.

        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: