aws / aws/aws-appsync-community
APPSYNC_JS support for parseInt, parseFloat and Number()
Open
feature-request
- Dominant language
- HTML
- Stars
- 507
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
I tried to convert my object keys from string to numbers, but got "The code contains one or more errors. " as a response when I tried to use `parseInt`, `parseFloat` or `Number()`.
Contributor guide
Research direction
Start by reviewing the APPSYNC_JS runtime's supported built-ins and the discussion on this issue. Determine the expected behavior for parseInt, parseFloat, and Number() when converting object keys, then verify that each function is accepted and performs the requested conversion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, graphql, javascript
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100