Azure / Azure/data-api-builder
Support multiple create mutation for self-referencing relationships.
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 370
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 9
説明
PR https://github.com/Azure/data-api-builder/pull/2138 adds support for querying relationships that reference the same entity (self-join tables).
Extend multiple create functionality to support relationships that reference itself.
Some things to consider are:
- Accurate determination of referencing/referenced entity. Though, referenced and referencing entity are both the same, we need to be able to identify whether **top level item** (or) **related item** should be created first.
- The current data structure maintains the relationship metadata at the entity level. PR https://github.com/Azure/data-api-builder/pull/2138 introduces changes to maintain the relationship metadata at the granularity level of relationship. This new data structure should be used during query generation and rest of the mutation flows.
コントリビューションガイド
調査の方向性
まず PR #2138 を確認して、自己参照リレーションのメタデータと複数作成 mutation のフローを理解します。クエリ生成と残りの mutation パスを追跡し、自己参照リレーションにおいてトップレベルのアイテムと関連アイテムが正しい順序で作成されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, graphql
- 領域
- api, databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 32/100