includeQueries and other include options not working
Open
@sjohnr is already working on this.
Since Aug 11, 2025.
investigate
- Dominant language
- Kotlin
- Stars
- 217
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Hey there,
I'm trying to use the codegen on a Gitlab's GQL schema, which is quite large (~1MB). In the docs you provide a guide on how to reduce code generation only on needed queries, subscriptions etc.; however it seems like the options do nothing.
I'm providing a sample repo in which I'm able to replicate locally the problem; when you examine the types/Query.kt file, it contains all queries, although in the build.gradle.kts file I've set includeQueries = mutableListOf("timelogs").
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.