entgql: added Description() for adding meta data to a field
@a8m thanks for the comments, how to do this please? I checked the file, but do not know how to link the added the field to this FieldConfig.Descrption. What I am missing here please? Thanks :)
Hello @Albert-Gao, you need to add def.Description to this block of code. It's our query field on the Query Object.
https://github.com/ent/contrib/blob/a1f3cb44bdfe32a9ea7d1cea048b12f681ce6570/entgql/schema.go#L208-L231
The latest thing, don't forget to merge annotation if we have more than one on the entity: https://github.com/ent/contrib/blob/a1f3cb44bdfe32a9ea7d1cea048b12f681ce6570/entgql/annotation.go#L463-L471
Thanks, @giautm added, please check.

Why this test is failing locally? 🤣 anyway, fixed the test of the updated schema