Numeric type casting of attributes nested in maps
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by locating the aws-record attribute handling for float_attr and map_attr, then trace how the DynamoDB Ruby SDK returns numeric values from nested maps. Check whether nested map types can be declared and identify existing tests for attribute casting. Done means nested numeric values follow their declared type instead of remaining BigDecimal.
Written by the indexing model from the issue text.
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?
- Dominant language
- Ruby
- Stars
- 318
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/aws-record-ruby
-
BuildableSearch#complete!.to_a auto-paginates silently and Limit is per-page (companion to #153) Openfeature-request
Difficulty 5/5 Over a week Newbie friendliness 25/100
aws/aws-record-ruby#157 · 2 comments ·
-
feature-request
Difficulty 5/5 Over a week Newbie friendliness 38/100
aws/aws-record-ruby#155 · 1 comment ·
-
feature-request needs-triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
aws/aws-record-ruby#153 · 2 comments ·
-
feature-request
Difficulty 5/5 Over a week Newbie friendliness 35/100
aws/aws-record-ruby#152 · 3 comments ·
-
feature-request
Difficulty 4/5 3-5 days Newbie friendliness 35/100
aws/aws-record-ruby#147 · 1 comment ·
All issues in aws/aws-record-ruby
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bensheldon/good_job#1816 · 5 comments ·