'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: fix (graphql): disallowing field names with as by aman-bansal · Pull Request #6474 · dgraph-io/dgraph · GitHub

1 Like

So this is the PR with base branch master fix (graphql): disallowing field names with as by aman-bansal · Pull Request #6579 · dgraph-io/dgraph · GitHub. This has been merged in master and will be part of the next scheduled release.