99designs / 99designs/gqlgen

Update generated stubs

Offen
#216 6 Kommentare 11 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
accepted
Vorherrschende Sprache
Go
Sterne
10.8k
Forks
1.3k
Ø Merge
2 T. 36 Min.
Gemergte PRs (30 T.)
26

Beschreibung

It would be very useful to compare current schema to a set of RootResolvers (passed in as args? maybe in config?) and add any missing resolvers as stubs to the generated code.

Bonus points for dealing with conflicts.

This is a long standing idea thats been floating around since #9.

@matthewmueller mentioned https://github.com/golang/go/issues/20744 might make this tricky. Perhaps it needs to use the AST to make decisions but do the edits on the raw file bytes?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.