dotnet / dotnet/efcore

Cosmos: support for mapping ReadOnlyMemory and/or similar

Open
#34,021 0 comments 0 reactions 0 assignees View on GitHub
area-cosmos area-type-mapping needs-design
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Default mapping would be to to a JSON array of the scalar type. However, we may also want to support Base64 encoding.

Note that this is a bit different to supporting the type in relational, where we agreed that the ADO.NET layer should be responsible, and Npgsql already supports this. For Cosmos, there really isn't any type mapping at the SDK level, so I think it makes sense to support it directly in the EF provider.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.