Khan / Khan/genqlient

Multiple generated files

Open
#185 4 comments 3 reactions 0 assignees View on GitHub
enhancement needs design needs more info
Dominant language
Go
Stars
1.3k
Forks
143
Avg merge
4h 50m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
I'd like to generate independent files for different schemas/operations so that all the generated code won't end up in a single file.

**Describe the solution you'd like**
Let the user specify multiple paths in the `generated` section.

**Describe alternatives you've considered**
Multiple `genqlient.yaml` configs?..

**Additional context**
Not needed.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by tracing how the `generated` configuration is parsed and how schemas or operations are assigned to output files; done means users can specify multiple paths and independent generated files are produced.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, graphql
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.