Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make GenerateApolloSources a Gradle Incremental task. #3658

Open
martinbonnin opened this issue Dec 8, 2021 · 0 comments
Open

Make GenerateApolloSources a Gradle Incremental task. #3658

martinbonnin opened this issue Dec 8, 2021 · 0 comments

Comments

@martinbonnin
Copy link
Contributor

To speedup the codegen step, we could use incremental tasks (not to be confused with incremental builds that we already support) and only recompile the parts that changed.

A first step could be to introduce a first parseSchema task that caches the parsing and validation of the schema and extra.graphqls. Ultimately though, recompiling based on query changes is certainly what is going to bring the most improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants