Status Quo
The plugin has hardcoded definition of the source set where the generated sources are attached to - it is always main.
The Problem
GraphQL API owners would like to leverage DGS code generation in the test code of their projects, in order to test their APIs. With today's setup, the generated code ends up as part of the production code, while it is only intended for testing purposes.
Suggested Feature
Add possibility to configure the source set where the generated code is attached to. This will allow to provide test in the use case above.