'as' is a Dgraph reserved word; it shouldn't be allowed as a field name in GraphQL

Moved from GitHub dgraph/5923

Posted by MichaelJCompton:

We should

  • reject this at schema upload time
  • add clearer docs for reserved words
1 Like

PR: https://github.com/dgraph-io/dgraph/pull/6474

1 Like

So this is the PR with base branch master https://github.com/dgraph-io/dgraph/pull/6579. This has been merged in master and will be part of the next scheduled release.