Cosmos: preserve unmapped properties
Open
area-cosmos
area-save-changes
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
Currently unmapped properties can be overridden during updates. An entity-type level configuration like `PreserveUnmappedProperties` could be introduced to avoid this at the cost of performance.
Alternatively, https://github.com/dotnet/efcore/issues/20584 would allow to map all dynamic properties to a `Dictionary`
Contributor guide
Research direction
Start by reviewing the proposed entity-type-level PreserveUnmappedProperties configuration and the alternative in issue #20584 about mapping dynamic properties to a Dictionary. Done means updates no longer override unmapped properties, with the performance tradeoff and chosen approach clearly addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100