Skip to content

Conversation

@kevinb-khan
Copy link
Contributor

@kevinb-khan kevinb-khan commented Sep 16, 2025

Summary:

'getInputFiles' was implemented in such a way that if files were provided via the command line, the 'crawl' option would be ignored. The types still required 'crawl' to be specified in this situation even though it wasn't used. This PR allows 'crawl' to be omitted from the config. graphql-flow will only error if neither 'crawl' or a list of files (via the command line) are provided.

Test Plan:

  • yarn typecheck
  • yarn test

@kevinb-khan kevinb-khan self-assigned this Sep 16, 2025
@changeset-bot
Copy link

changeset-bot bot commented Sep 16, 2025

🦋 Changeset detected

Latest commit: 46243ad

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@khanacademy/graphql-flow Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kevinb-khan
Copy link
Contributor Author

I decided to use the existing behaviour as is.

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.

2 participants