Azure / Azure/data-api-builder

Can't configure the partition key when defining the object model

オープン
#747 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
cosmos engine enhancement graphql
主要言語
C#
スター
1.5k
フォーク
370
平均マージ
3日 22時間
マージ済み PR(30日)
9

説明

Cosmos backends require you to have a partition key of `id`, but there are many approaches to partitioning in Cosmos.

The developer should be able to define what it is when they are creating the GraphQL schema, maybe using a `@partitionKey` directive.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、GraphQL スキーマでオブジェクトモデルがどのように定義されているか、また Cosmos バックエンドが現在、必須の `id` パーティションキーをどのように扱っているかを確認します。スキーマの作成時に、開発者が別のパーティションキーを指定でき、場合によっては `@partitionKey` ディレクティブを使用し、Cosmos リクエストがその定義を使用するようになれば、この issue は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, csharp, graphql
領域
api, database
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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