A type can specify the same field multiple times #3924
Labels
area/querylang
Issues related to the query language specification and implementation.
area/types
Issues related to the type system.
kind/enhancement
Something could be better.
What version of Dgraph are you using?
v1.1.0
Have you tried reproducing the issue with the latest release?
Yes
Steps to reproduce the issue (command/config used to run Dgraph).
Run Dgraph
Update the schema with the following type:
The schema update is successful and the type contains two fields named
name
.Expected behavior and actual result.
This type shouldn't be valid. A way to avoid this would be for the schema update to fail with an error when there are duplicate field names.
The text was updated successfully, but these errors were encountered: