Skip to content

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

Open
@MichelDiz

Description

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

Metadata

Assignees

No one assigned

    Labels

    dgraphIssue or PR created by an internal Dgraph contributor.exp/beginnerSomething most people could solve.kind/bugSomething is broken.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions