googleapis / googleapis/google-cloud-cpp
Support format field in Compute Discovery Doc
- 主要言語
- C++
- スター
- 659
- フォーク
- 462
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 89
説明
Compute is adding a `format` field to the JSON to accompany occurrences of `"type": "any"` in order to specify what the resulting protobuf type should be.
The generator should expect to see them together like:
```
"properties": {
"field_name": {
"type": "any",
"format": "google.protobuf.Value"
}
}
```
This would result in a .proto field definition like:
```
optional google.protobuf.Value field_name = ;
```
コントリビューションガイド
調査の方向性
Compute Discovery JSON を消費し、`type: "any"` のプロパティを処理するジェネレーターから始めます。生成される protobuf フィールド型の選択方法を追跡します。対応する `format` 値のサポートを追加し、例によって期待されるフィールド番号を持つ `optional google.protobuf.Value` フィールドが生成されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 50/100