Skip to content

[Feature] Provide possibility to configure the source set where the generated sources are attached #859

@orange-buffalo

Description

@orange-buffalo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions