DEV Community

Discussion on: DGraph Advanced Data Modeling: Part 3 - Deep Updates

Collapse
 
lveillard profile image
lveillard

just created an account to say that if somebody has the issue:
"Invalid end of input"

just remove the extra line here:
args += uid(t${i})
<${titleCase(_nodes[i])}.${invType}> <${uid}> .

to fix it :)

Collapse
 
jdgamble555 profile image
Jonathan Gamble

Actually, just add a ‘\n’ to fix that. DQL requires newlines in some cases to process, unlike graphql.