Cosmos: Advanced type mapping inference (for scalar collections)
- 主要言語
- C#
- スター
- 14.8k
- フォーク
- 3.4k
- PR マージ指標
- PR 指標を取得中
説明
In various places in the Cosmos scalar collection implementation, we currently simply infer an array's type mapping from its CLR type; this loses type mapping information that may be configured on the array's element. Since Cosmos uses very little type mapping information, this mainly means that arrays over elements with value converters don't function correctly.
We should port over RelationalTypeMappingPostprocessor, which is a post-processing step for advanced type mapping inference from elements back to the arrays the came from.
コントリビューションガイド
調査の方向性
まず、Cosmos のスカラー コレクションの実装と既存の RelationalTypeMappingPostprocessor を見つけます。リレーショナル推論が要素のマッピングを配列に戻す際の伝播方法を比較し、次に、値コンバーターを持つ要素に対する Cosmos 配列が構成済みのマッピングを保持することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100