Cosmos: support for mapping ReadOnlyMemory and/or similar
Open
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
Assessment
This issue has not been assessed yet.