Skip to content

Global registration of type converters #1746

Open
@thrixton

Description

@thrixton

I have an IPropertyConverter from NodaTime.ZonedDatetime to string
I can register this either via DynamoDBPropertyAttribute or AWSConfigsDynamoDB.Context.AddMapping as illustrated here
This works ok but is repetitive and error prone

Is it possible to globally register a type converter?
e.g (imagined) AWSConfigsDynamoDB.Context.AddTypeMapping<ZonedDatetime, ZonedDateTimeConverter>()

Metadata

Metadata

Assignees

No one assigned

    Labels

    dynamodbfeature-requestA feature should be added or improved.p2This is a standard priority issuequeued

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions