Global registration of type converters
- Dominant language
- C#
- Stars
- 140
- Forks
- 891
- Avg merge
- 21h 51m
- Merged PRs (30d)
- 10
Description
I have an `IPropertyConverter` from `NodaTime.ZonedDatetime` to `string`
I can register this either via `DynamoDBPropertyAttribute` or `AWSConfigsDynamoDB.Context.AddMapping` as illustrated [here](https://github.com/aws/aws-sdk-net/issues/648)
This works ok but is repetitive and error prone
Is it possible to globally register a type converter?
e.g (imagined) `AWSConfigsDynamoDB.Context.AddTypeMapping()`
Contributor guide
Research direction
Start by comparing the existing DynamoDBPropertyAttribute and AWSConfigsDynamoDB.Context.AddMapping registration paths, using IPropertyConverter and the example linked in the issue. The change would be complete when a global type-converter registration can apply the converter without repetitive property mappings, with the supported API and behavior documented and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, csharp
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100