Dgraph isn't automatically setting values as list in structured mutations as list. #3788
Labels
area/data-loss
Issues related to loss of data.
area/mutations
Related to mutations JSON or RDF.
kind/bug
Something is broken.
priority/P1
Serious issue that requires eventual attention (can wait a bit)
status/accepted
We accept to investigate/work on it.
If you suspect this could be a bug, follow the template.
What version of Dgraph are you using?
1.1RC
Have you tried reproducing the issue with latest release?
Yes, latest RC
Steps to reproduce the issue (command/config used to run Dgraph).
Add a list mutation in JSON before set the schema.
Expected behaviour and actual result.
Since Dgraph automatically recognizes Types (Like
[uid]
this is a "list") I think it should recognize a list through a structured mutation as a list. Avoiding the user lost some data from his list. In case he forgets to define the scheme before mutating.I didn't tested it in RDF tho. Will do.
Check reference: #3787
The text was updated successfully, but these errors were encountered: