diff --git a/docs/content/config.md b/docs/content/config.md index 98cb7127e8b..eee5cb60520 100644 --- a/docs/content/config.md +++ b/docs/content/config.md @@ -17,11 +17,15 @@ schema: schema.graphql schema: - schema.graphql - user.graphql - + # Or you can use globs -schema: +schema: - "*.graphql" - + +# Or globs from a root directory +schema: + - "schema/**/*.graphql" + # Let gqlgen know where to put the generated server exec: filename: graph/generated/generated.go