Closed
Description
Currently, GraphQlAutoConfiguration hard codes the file extensions which will be searched when discovering schema definitions. This caused issues when trying to integrate spring-graphql into a project as we were using .graphql
files to store GraphQL queries and .graphqls
to store schema definitions. This caused the application context to blow up at runtime.
We worked around this problem by moving the queries and schemas into different directories, but having more control over this would be useful considering the directory to scan is already configurable.