Khan / Khan/genqlient

Add config for remote schemas

Open
#207 5 comments 22 reactions 0 assignees View on GitHub
enhancement help wanted
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 don't want to have to manually update the schema.graphql file.

**Describe the solution you'd like**
Add `RemoteSchemaURL` to `generate/config.go`. Temporarily download this file to disk for generation.

**Describe alternatives you've considered**
I currently have a ci job to download the remote schema and compare it to the schema in my project

Contributor guide

Open the contributing guide

Research direction

Start in generate/config.go to trace how configuration selects the schema.graphql input and how generation is invoked. Follow the generation flow to determine where a RemoteSchemaURL download can be used temporarily, and verify that generated output comes from the remote schema without requiring a manually updated local file.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.