Feature requests for JS utility functions
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- aws, javascript
Research direction
No source files or tests are named. Review the listed @aws-appsync/utils, rds, and dynamodb functions, then comment with the JavaScript resolver functions you use or react to an existing matching suggestion; the requested community input is complete when the usage suggestion or reaction is posted.
Written by the indexing model from the issue text.
Description
Motivation
We do not currently support the whole of the AppSync @aws-appsync/utils package available on AWS. We would like some input on what functions are the most used by our community.
Instructions
Please add a comment to this PR indicating which functions you use when using AppSync, specifically in JavaScript resolvers from the @aws-appsync/utils package. If a comment already exists with your suggestion then please leave a 👍 on the comment, and we will use this to prioritise the functions that are most requested.
Currently implemented functions
Assuming the following import:
import { util } from '@aws-appsync/utils'
util.autoIdutil.appendError(partial, the function exists but errors are not yet captured)util.time.nowFormattedutil.transform.toDynamoDBFilterExpressionutil.transform.toDynamoDBConditionExpressionutil.dynamodb.toDynamoDButil.dynamodb.toStringutil.dynamodb.toStringSetutil.dynamodb.toNumberutil.dynamodb.toNumberSetutil.dynamodb.toBinaryutil.dynamodb.toBinarySetutil.dynamodb.toBooleanutil.dynamodb.toNullutil.dynamodb.toListutil.dynamodb.toMaputil.dynamodb.toMapValuesutil.dynamodb.toS3Objectutil.dynamodb.fromS3ObjectJson
Assuming the following import:
import * as rds from '@aws-appsync/utils/rds'
rds.createMySQLStatementrds.createPgStatementrds.insertrds.removerds.selectrds.toJsonObjectrds.typeHint.DECIMALrds.typeHint.JSONrds.typeHint.TIMErds.typeHint.DATErds.typeHint.UUIDrds.typeHint.TIMESTAMPrds.update
Assuming the following import:
import * as dynamodb from '@aws-appsync/utils/dynamodb'
dynamodb.getdynamodb.operations.adddynamodb.operations.appenddynamodb.operations.decrementdynamodb.operations.incrementdynamodb.operations.prependdynamodb.operations.replacedynamodb.putdynamodb.removedynamodb.scandynamodb.update
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 1
- Avg merge
- 30m
- Merged PRs (30d)
- 27
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 localstack/appsync-utils
-
localstack/appsync-utils#7 · 1 assignee ·
All issues in localstack/appsync-utils
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Issue-Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sugarlabs/musicblocks#8924 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ArduPilot/ardupilot_wiki#8088 ·
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled Opencustomer-eng status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100