We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
mutation { schema { test_key: string @index(exact) . test_value: string @index(exact) . } set { _:test_1 <test_key> "key1" . _:test_1 <test_value> "value1" . _:test_2 <test_key> "key2" . _:test_2 <test_value> "value2" . } }
{ v as var(func: eq(test_key, "key1")) @filter(eq(test_key, "key2")) } { q(func: uid(v)) { test_key test_value } }
{ "data": { "q": [ { "_uid_": "0x11945", "test_key": "key2", "test_value": "value2" } ], "server_latency": { "processing": "310µs", "json": "104µs", "total": "604µs", "parsing": "184µs" } } }
The text was updated successfully, but these errors were encountered:
Thanks for the report @zhicwu. Seems to be a bug with variable assignment as the below query gives the expected result.
{ me(func: eq(test_key, "key1")) @filter(eq(test_key, "key2")) { test_key test_value } }
I suspect variable is being assigned without applying the filters.
Sorry, something went wrong.
ad1d6e4
Fix #1455. Intersect DestUids with result from filter.
e8354ae
pawanrawal
Successfully merging a pull request may close this issue.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: