Does Slash dgraph support language tags like “name@en” or “name@fr” in regular dgraph? If not, is this feature going to be implemented in the future? I assume the cleanest way to mimic this is to just create a “lang” field, or a “lang” type depending on my needs…
It’s not currently supported. However I am marking this as a feature request.
Just to be clear, this is not supported in GraphQL. You can still use this via the DQL API gateway of Slash GraphQL.
So I can do it with a custom DQL function? How would I setup the Schema etc?