RegExp Variable Replacement Not Working on Filters #3268
Labels
area/querylang/filter
Related to the filter directive.
area/querylang/vars
Issues related to queries with GraphQL variables
kind/bug
Something is broken.
kind/enhancement
Something could be better.
priority/P1
Serious issue that requires eventual attention (can wait a bit)
status/accepted
We accept to investigate/work on it.
Milestone
I am working using version 1.0.11 of dgraph and interacting with the graph using the Ratel interface.
I have a query that I have constructed as:
with the intention of filtering using regular expression. This doesn't work, and it gives an error message of
": Function 'regexp' requires 2 arguments, but got 1 ([/(?i)sal/])"
however:
Does work.
I noticed that this is similar to the issue raised in Issue #2333. Can this fix also be applied to the filter function on a query?
The text was updated successfully, but these errors were encountered: