Scan schema locations for well-known file extensions
This commit improves gh-56 to scan schema locations for more well-known file extensions, as previously only `*.graphqls` was supported. We're now scanning for `*.graphqls`, `*.gqls`, `*.graphql`, `*.gql`. Closes gh-56
This commit is contained in:
@@ -129,7 +129,8 @@ The Spring GraphQL project offers a few configuration properties to customize yo
|
||||
----
|
||||
# web path to the graphql endpoint
|
||||
spring.graphql.path=/graphql
|
||||
# locations of the graphql '*.graphqls' schema files
|
||||
# locations of the graphql schema files
|
||||
# scanning for files with well-known extensions: '*.graphqls', '*.gqls', '*.graphql', '*.gql'
|
||||
spring.graphql.schema.locations=classpath:graphql/
|
||||
# schema printer endpoint configuration
|
||||
# endpoint path is concatenated with the main path, so "/graphql/schema" by default
|
||||
|
||||
Reference in New Issue
Block a user