Language Support Missing in 22.0 but works in 21.12

What I want to do

Use the language support as documented here:

https://dgraph.io/docs/graphql/dgraph/#language-support-in-graphql

What I did

I tried set the schema listed in the doc, and it doesn’t work.

type Person {
     name: String   # Person.name is the auto-generated DQL predicate for this GraphQL field, unless overridden using @dgraph(pred: "...")
     nameHi: String @dgraph(pred:"Person.name@hi") # this field exposes the value for the language tag `@hi` for the DQL predicate `Person.name` to GraphQL
     nameEn: String @dgraph(pred:"Person.name@en")
     nameHi_En:  String @dgraph(pred:"Person.name@hi:en") # this field uses multiple language tags: `@hi` and `@en`
     nameHi_En_untag:  String @dgraph(pred:"Person.name@hi:en:.") # as this uses `.`, it will give untagged values if there is no value for `@hi` or `@en`
  }

After searching awhile, I found a thread that says 22.0 is based on a build that doesn’t have GraphQL language support. RFC: Allow language Tag support in GraphQL - #13 by matthewmcneely

So I tried v21.12.0 and it works!

Will this feature be port back into v22?

Whats the reason of not having this feature in v22?

This is a critical feature for us to use DGraph, and we are so close to making our use case works.

Thanks! Appreciate any help here!

Hi all,

Can someone help confirm if this feature will be available in future build.

https://dgraph.io/docs/graphql/dgraph/#language-support-in-graphql

Is it recommended if we want to use v21.12 in production?

Will the data be incompatible if we upgrade to later version in the future?

Thanks.

Peter

This feature will be available in future build. Thanks for reporting this defect. I will check with engineering when it could be back …

Thanks for confirming this.