localstack / localstack/appsync-utils
Feature requests for JS utility functions
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 1
- Avg merge
- 30m
- Merged PRs (30d)
- 27
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
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.
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.
Assessment
- Tech stack
- aws, javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100