aws / aws/aws-record-ruby

Numeric type casting of attributes nested in maps

Open
#120 7 comments 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
Ruby
Stars
318
Forks
43
Avg merge
19h
Merged PRs (30d)
1

Description

We have `float_attr` and `map_attr` definitions, however there seems to be no way of defining the types of attributes nested in maps. I am currently reading a float out of a map and the result is a `BigDecimal` (`0.2997e2` instead of `29.97`), as per DynamoDB's Ruby SDK.

Is there any way to address this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.