dgraph-io / dgraph

The high-performance database for modern applications
https://dgraph.io
Other
20.31k stars 1.49k forks source link

[BUG]: Misuse of variable in UID function fails silently #8806

Open MichelDiz opened 1 year ago

MichelDiz commented 1 year ago

What version of Dgraph are you using?

latest

Tell us a little more about your go-environment?

N/A

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, CPU, OS)?

N/A

What steps will reproduce the bug?

Run a query like this

q(func: uid(val(A)) )

Expected behavior and actual result.

q(func: uid(val(A)) ) = Silent return it should fail

q(func: uid(A) ) = Correct one.

Additional information

No response

github-actions[bot] commented 1 month ago

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.