GraphQL Modules allows you to define schema directives on a per-module basis. For example, we can add a schema directive to our module like this:
GraphQL Modules won't automatically apply your directives when it generates a schema for a module to avoid applying the same directive more than once. However, you can set the
visitSchemaDirectives option to
true in your root module and the directives from all your combined modules will be applied to your final schema.