Files
spring-graphql/samples
Brian Clozel f69aa39211 Only scan for *.graphqls and *.gqls schema files
Prior to this commit, the auto-configuration was scanning for
`"*.graphql,*.gql,*.graphqls,*.gqls"` files in the configured locations.
This was not flexible enough, as developers could not customize the
considered file extensions when scanning for files.

This commit provides a new `spring.graphql.schema.file-extensions`
configuration property that enables such customizations.

Because `"*.graphql,*.gql"` extensions seem to be tied to queries
(and not schemas), this commit also changes the default value to only
consider the `"*.graphqls,*.gqls"` file extensions by default.

Closes gh-134
Closes gh-135
2021-09-20 10:29:41 +02:00
..
2021-07-07 09:02:51 +01:00

This directory contains samples to test scenarios and features with.

All samples have integration tests you can run or debug, and expose a GraphiQL page at "/graphiql".

To run a sample from the command line:

$ ./gradlew :samples:{sample-directory-name}:bootRun