localstack / localstack/appsync-utils
Feature requests for JS utility functions
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 9
- Fork
- 1
- Merge trung bình
- 30 phút
- Pull request đã merge (30 ngày)
- 27
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu. Hãy xem xét các hàm @aws-appsync/utils, rds và dynamodb được liệt kê, sau đó bình luận bằng các hàm resolver JavaScript mà bạn sử dụng hoặc bày tỏ phản ứng với một đề xuất hiện có phù hợp; ý kiến đóng góp được yêu cầu từ cộng đồng được xem là hoàn tất khi đề xuất về cách sử dụng hoặc phản ứng được đăng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, javascript
- Lĩnh vực
- api, backend
- Loại issue
- Tính năng
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100