Custom Functions: Can't use _
in identifiers
#5641
Labels
area/graphql
Issues related to GraphQL support on Dgraph.
kind/bug
Something is broken.
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
master
Have you tried reproducing the issue with the latest release?
Only on master
What is the hardware spec (RAM, OS)?
Mac with latest OS
Steps to reproduce the issue (command/config used to run Dgraph).
I have to define function parameters and field names in the body like this.
If I attempt to use an underscore
_
I get an error. As an example, renamingcountryCode
tocountry_code
:I get this error.
This would also happen if I use underscores for fields in the
body
document.Expected behaviour and actual result.
I expect I can use JSON proper variable naming.
The text was updated successfully, but these errors were encountered: