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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.7
    • 3.2.8, 3.3.2
    • dotnet
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment