Netflix / Netflix/dgs-codegen

generate client as jar for import into other projects

Open
#459 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

I'd like for the client generation to work a bit like "test fixtures". I want to generate a jar with it so that another project can import it. I'm sure I can do this myself, but this is they ideal use case for me, otherwise I basically have to reimplement the client.

Unless there is some other way that a mutation in one service of the graph could read from another service in the graph without a client.

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

The issue names no files or tests, so start by tracing the client-generation entry point and the existing build configuration. Done means the generated client can be packaged as a JAR and imported by another project, with the required usage verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.