You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is because in the dgraph/edgraph
/server.go
uses a string.trimRight(qc.req.Query, "}") , which should be replaced with qc.req.Query = strings.TrimSuffix(qc.req.Query, "}") so that only one closing "}" is deleted
AoAnima
pushed a commit
to AoAnima/dgraph
that referenced
this issue
Jun 30, 2024
What version of Dgraph are you using?
v24.0.0, docker image
Tell us a little more about your go-environment?
No response
Have you tried reproducing the issue with the latest release?
None
What is the hardware spec (RAM, CPU, OS)?
not applicable
What steps will reproduce the bug?
apply the following schema
run the mutation through dgo:
Expected behavior and actual result.
Mutation fails with error:
I expect it to work.
Additional information
Works without
@unique
.Works with
@unique
, when we modify the query to contain a space before the closing bracket:The text was updated successfully, but these errors were encountered: