Skip to content

Adds configuration file to support varying GraphQL schema file locations - #10

Merged
NeedleInAJayStack merged 4 commits into
GraphQLSwift:mainfrom
NeedleInAJayStack:feat/configurable-schema-location
Aug 9, 2026
Merged

Adds configuration file to support varying GraphQL schema file locations#10
NeedleInAJayStack merged 4 commits into
GraphQLSwift:mainfrom
NeedleInAJayStack:feat/configurable-schema-location

Conversation

@NeedleInAJayStack

@NeedleInAJayStack NeedleInAJayStack commented Aug 9, 2026

Copy link
Copy Markdown
Member

This adds support for a configuration file named graphql-generator-config.yaml. The only supported field today is schema, which is a list of filenames or directories under which GraphQL schemas are located. This allows isolating particular schemas for generation.

It adds tests and documentation for this feature, and makes small additional improvements to the documentation.

Note: This makes breaking changes to the generator CLI. However since the CLI serves only to support the build plugin, the CLI is not considered to part of this package's public API so this is marked as a minor change.

Fixes #4

@NeedleInAJayStack NeedleInAJayStack self-assigned this Aug 9, 2026
@NeedleInAJayStack NeedleInAJayStack changed the title Adds configuration file and supports varying GraphQL schema file locations Adds configuration file to support varying GraphQL schema file locations Aug 9, 2026
@NeedleInAJayStack
NeedleInAJayStack merged commit e3cce55 into GraphQLSwift:main Aug 9, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add configuration to reference different .graphql source file locations

1 participant