Netflix / Netflix/dgs-codegen

User specified directory for generated sources should be added to source set of directories.

Open
#311 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
217
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Only the default directory for generated sources is added currently. If the user specifies a different directory, that is not added to sources. The recommendation is to switch to using the lazy api to better handle this.

https://github.com/Netflix/dgs-codegen/blob/master/graphql-dgs-codegen-gradle/src/[…]/kotlin/com/netflix/graphql/dgs/codegen/gradle/CodegenPlugin.kt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the linked CodegenPlugin.kt file and inspect how the default generated-source directory is added to the source set. Trace the lazy API handling for a user-specified directory, then verify that both default and custom directories are included in the source set.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.