dotnet / dotnet/efcore

Cosmos: Advanced type mapping inference (for scalar collections)

Aperta
#34,026 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area-cosmos area-primitive-collections area-query consider-for-next-release
Lingua principale
C#
Stelle
14.8k
Fork
3.4k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the Cosmos scalar collection implementation and the existing RelationalTypeMappingPostprocessor. Compare how relational inference propagates element mappings back to arrays, then verify that Cosmos arrays over elements with value converters retain the configured mapping.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
databases
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.