Implementation question regarding editable generated files like resolver
オープン
- 主要言語
- Go
- スター
- 10.8k
- フォーク
- 1.3k
- 平均マージ
- 2日 36分
- マージ済み PR(30日)
- 26
説明
How is the editable functionality achieved for resolver?
I'm writing a custom protoc plugin and would love to be able to edit the output.
There doesn't seem to be any temp/lock files associated with generating the resolver.
I was wondering could anyone give an overview of how this functionality that allows file edits to be persisted across further generate re-runs? Or just point to where in the code roughly it happens
コントリビューションガイド
調査の方向性
gqlgen のコード生成プロセスを確認し、特に resolver がどのように生成されるか、編集可能なファイルがどこで扱われるかを見てください。まず codegen package と resolver 生成ロジックを調べるところから始めてください。目的は、再実行をまたいで編集内容を保持できる仕組みを理解し、それを custom protoc plugin authors 向けにドキュメント化することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go
- 領域
- devtools
- issue の種類
- ドキュメント
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100