googleapis / googleapis/google-cloud-cpp

Support format field in Compute Discovery Doc

オープン
#14,836 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: compute cpp: generator type: feature request
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。