Skip to content

Allow for the file extensions used when scanning for schema definitions to be overridden via configuration properties #134

Closed
@jhinch-at-atlassian-com

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions