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

LambdaRestrictionStrategy too restrictive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.2-incubating
    • 3.1.1-incubating
    • process
    • None

    Description

      It seems like LambdaRestrictionStrategy considers tokens to be lambdas:

      gremlin> :> g.V().label().groupCount()
      ==>[country:21, product:77, item:2155, employee:9, region:18, category:8, order:830, customer:91]
      gremlin> :> g.V().groupCount().by(label)
      The provided traversal contains a lambda step: LambdaMapStep(label)
      Display stack trace? [yN]
      

      Of course tokens aren't simple objects, but I think they should be allowed / considered to be safe, even if the LambdaRestrictionStrategy is applied.

      Attachments

        Activity

          People

            okram Marko A. Rodriguez
            dkuppitz Daniel Kuppitz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: