I followed the examples here: https://dgraph.io/docs/graphql/dgraph/#language-support-in-graphql but they did not work. Is the language tag supported in GraphQL already?
So i found an error in the docs. The docs says that version 21.03 supports this feature, but that’s not true. Only versions above 21.07 support it. So using the latest version solved the problem.