Thanks for your impressive tech Dgraph!
I’m on dgraph/standalone:v22.0.2
Updating the graphql schema at the /admin/schema endpoint doesn’t seem to work with the "at"dgraph directive yet. Maybe you can add that caveat to your docs, or remove the example?
From your docs here
type Person { name: String # Person.name is the auto-generated DQL predicate for this GraphQL field, unless overridden using "at"dgraph(pred: "...") nameHi: String "at"dgraph(pred:"Person.name"at"hi") # this field exposes the value for the language tag"at"hifor the DQL predicatePerson.nameto GraphQL nameEn: String "at"dgraph(pred:"Person.name"at"en") nameHi_En: String "at"dgraph(pred:"Person.name"at"hi:en") # this field uses multiple language tags:"at"hiand"at"en nameHi_En_untag: String "at"dgraph(pred:"Person.name@hi:en:.") # as this uses., it will give untagged values if there is no value for "at"hior"at"en }
Adding the directives gives this error “resolving updateGQLSchema failed because line 9 column 12: Missing colon in type declaration. Got @”
As I understand, this feature is not yet implemented in graphql only dql allows language querying, correct?
Thanks again