Add a method TranslateType<T>(string path)
to translate types globally
#36
Labels
Translations
This concerns the Translations Package
To avoid having to add the Translate directive on every enum/class that we want to translate, it would be interesting to be able to translate them globally.
A Method
TranslateType<T>(string path)
could be added to achieve this:Now every field in our schema that is of type Country or [Country] would be translated.
Example:
This would now generate the following GraphQL schema:
The text was updated successfully, but these errors were encountered: