TINKERPOP-1919 Merge classes P and TraversalPredicate in Gremlin.Net#816
TINKERPOP-1919 Merge classes P and TraversalPredicate in Gremlin.Net#816
Conversation
|
Down to just 32 ignored! VOTE +1 |
|
I think this is a good change though it doesn't exactly mimic the Java API right? there is no I agree that most folks will not have used this Does all of that make sense? |
This will be changed with PR #815 that introduces new interfaces, one of which is I'll add something for the upgrade docs. Although it will probably just concentrate on cases where users already implemented their own predicates as there should be no visible changes for users that only used our predicates. |
exactly - VOTE +1 |
There is no good reason to keep those two classes separate anymore and having P as the type for step parameters is probably easier to understand for users than TraversalPredicate.
https://issues.apache.org/jira/browse/TINKERPOP-1919
This removes the
TraversalPredicateclass by including its functionality intoP. That made it easier to enable our Gherkin runner to work withP.And()andP.Or()and havingPas the type for step parameters is probably also easier to understand for users thanTraversalPredicate.I added a
CHANGELOGentry as this is technically a breaking change as it removes a public class, but I think that it's unlikely that users interacted directly withTraversalPredicateinstead of only viaP.Something().And().This affected 4 previously ignored scenarios. Unfortunately, 2 of those are still ignored because of TINKERPOP-1922.
VOTE +1