Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feature requests for JS utility functions

Open
#19 2 comments 1 reaction 0 assignees View on GitHub

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
Domain
api, backend

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

enhancement

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.autoId
  • util.appendError (partial, the function exists but errors are not yet captured)
  • util.time.nowFormatted
  • util.transform.toDynamoDBFilterExpression
  • util.transform.toDynamoDBConditionExpression
  • util.dynamodb.toDynamoDB
  • util.dynamodb.toString
  • util.dynamodb.toStringSet
  • util.dynamodb.toNumber
  • util.dynamodb.toNumberSet
  • util.dynamodb.toBinary
  • util.dynamodb.toBinarySet
  • util.dynamodb.toBoolean
  • util.dynamodb.toNull
  • util.dynamodb.toList
  • util.dynamodb.toMap
  • util.dynamodb.toMapValues
  • util.dynamodb.toS3Object
  • util.dynamodb.fromS3ObjectJson

Assuming the following import:

import * as rds from '@aws-appsync/utils/rds'
  • rds.createMySQLStatement
  • rds.createPgStatement
  • rds.insert
  • rds.remove
  • rds.select
  • rds.toJsonObject
  • rds.typeHint.DECIMAL
  • rds.typeHint.JSON
  • rds.typeHint.TIME
  • rds.typeHint.DATE
  • rds.typeHint.UUID
  • rds.typeHint.TIMESTAMP
  • rds.update

Assuming the following import:

import * as dynamodb from '@aws-appsync/utils/dynamodb'
  • dynamodb.get
  • dynamodb.operations.add
  • dynamodb.operations.append
  • dynamodb.operations.decrement
  • dynamodb.operations.increment
  • dynamodb.operations.prepend
  • dynamodb.operations.replace
  • dynamodb.put
  • dynamodb.remove
  • dynamodb.scan
  • dynamodb.update
Dominant language
JavaScript
Stars
9
Forks
1
Avg merge
30m
Merged PRs (30d)
27

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from localstack/appsync-utils

All issues in localstack/appsync-utils

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.