aws / aws/aws-appsync-community
DECIMAL datatypes from datasources
- Dominant language
- HTML
- Stars
- 507
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
I have an Aurora serverless (MySQL) datasource defined which has a few fields that are of type `DECIMAL`. It's unclear to me how I should handle them on the GraphQL layer since AppSync does not support this type. `Float` seems improper since it will truncate some of the precision of the number.
Are there any plans to support `Decimal` scalars that are not finite precision?
Contributor guide
Research direction
Start by reviewing how Aurora Serverless MySQL DECIMAL fields are mapped into the AppSync GraphQL layer, with attention to precision and the lack of a supported Decimal scalar. Done would require a clear decision on whether non-finite-precision Decimal scalars will be supported and how these fields should be represented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, graphql, mysql
- Domain
- api, cloud, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100