Skip to content

dynamodb/attributevalue: Marshal does not support json.Number to Numeric data type #929

@KaibaLopez

Description

@KaibaLopez

Is your feature request related to a problem? Please describe.
The deprecated dynamodbattribute.ConvertTo(...) has broader functionality than the new dynamdbattribute.Marshal(...).

Describe the solution you'd like
Ideally, the new function should be able to convert json.Number type to the numeric dynamodb data type N or the sdk should have another non-deprecated function for making that conversion.

Additional context
Refer to V1 issue #3643 for code samples and explanation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions