spmallette commented on code in PR #3437:
URL: https://github.com/apache/tinkerpop/pull/3437#discussion_r3395423957


##########
gremlin-go/driver/graphTraversal.go:
##########
@@ -502,11 +502,27 @@ func (g *GraphTraversal) Map(args ...interface{}) 
*GraphTraversal {
 }
 
 // Match adds the match step to the GraphTraversal.
+// Deprecated: As of release 4.0.0, prefer MatchGql for declarative GQL 
pattern matching.
 func (g *GraphTraversal) Match(args ...interface{}) *GraphTraversal {
        g.GremlinLang.AddStep("match", args...)
        return g
 }
 
+// MatchGql adds a declarative pattern match step to the GraphTraversal. The 
query language
+// defaults to "gql" and can be overridden with .With("queryLanguage", value).
+func (g *GraphTraversal) MatchGql(matchQuery string) *GraphTraversal {

Review Comment:
   going with just using the permissive signature - good catch



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to